Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01098/0.01098, allocations: 98.48 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002384/0.002385, allocations: 194 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.72/2.72, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.465/4.465, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002534/0.002534, allocations: 64.41 kB / 0.9505 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5027/0.5053, allocations: 140.4 MB / 1.088 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.003854/0.5092, allocations: 0.7477 MB / 1.088 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003572/0.5096, allocations: 51.83 kB / 1.088 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.96e-05/0.5097, allocations: 4 kB / 1.088 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.51, allocations: 15.81 kB / 1.088 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.601e-05/0.51, allocations: 7.984 kB / 1.088 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.5103, allocations: 27.97 kB / 1.088 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.5106, allocations: 127.6 kB / 1.088 GB, free: 1 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000404/0.511, allocations: 160.5 kB / 1.089 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.5111, allocations: 71.78 kB / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.5113, allocations: 71.64 kB / 1.089 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.109e-05/0.5114, allocations: 12 kB / 1.089 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.174e-05/0.5114, allocations: 12.34 kB / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.5115, allocations: 51.84 kB / 1.089 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.5117, allocations: 83.42 kB / 1.089 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004328/0.5122, allocations: 239.2 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5122, allocations: 0 / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5122, allocations: 0 / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.5122, allocations: 0 / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009569/0.5132, allocations: 0.4949 MB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.75e-05/0.5133, allocations: 12.02 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/0.5134, allocations: 62.67 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.5135, allocations: 28.75 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004891/0.514, allocations: 249 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.514, allocations: 12.75 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/0.5141, allocations: 20.38 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008016/0.5149, allocations: 344.7 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.5149, allocations: 0 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.249e-05/0.515, allocations: 15.92 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.849e-05/0.5151, allocations: 11.98 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006157/0.5157, allocations: 267 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.5179, allocations: 1.088 MB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.518, allocations: 181 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.99e-05/0.5181, allocations: 80.14 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.966e-05/0.5181, allocations: 75.28 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.413e-05/0.5182, allocations: 110 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 2.715e-06/0.5182, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001831/0.5184, allocations: 57.45 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.856e-05/0.5186, allocations: 126.7 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009623/0.5195, allocations: 0.4926 MB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.5196, allocations: 29.64 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.5198, allocations: 171.9 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.753e-06/0.5198, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.5199, allocations: 33.66 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002879/0.5202, allocations: 346.8 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.5204, allocations: 47.97 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.5205, allocations: 85.97 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.5208, allocations: 105.9 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.5208, allocations: 0 / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005103/0.5213, allocations: 193.3 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.5214, allocations: 9.5 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.5214, allocations: 4 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.5214, allocations: 0 / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.5216, allocations: 19.98 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.5216, allocations: 4 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.5219, allocations: 39.73 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.5219, allocations: 15.92 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002817/0.5222, allocations: 249.3 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.5224, allocations: 124.8 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.5225, allocations: 138.8 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.988e-05/0.5226, allocations: 176.3 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001004/0.5227, allocations: 180.3 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.901e-05/0.5228, allocations: 185.6 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005407/0.5234, allocations: 497.1 kB / 1.095 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.778e-05/0.5234, allocations: 108.9 kB / 1.095 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.966e-05/0.5235, allocations: 101 kB / 1.096 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/0.5236, allocations: 184.2 kB / 1.096 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.537e-05/0.5238, allocations: 184.2 kB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001009/0.5239, allocations: 184.3 kB / 1.096 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.76e-05/0.524, allocations: 184.2 kB / 1.096 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.5242, allocations: 323.6 kB / 1.097 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/0.5245, allocations: 218.2 kB / 1.097 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.5247, allocations: 184.2 kB / 1.097 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.5249, allocations: 112.9 kB / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.5251, allocations: 192.2 kB / 1.097 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/0.5252, allocations: 104.9 kB / 1.097 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007393/0.5259, allocations: 359 kB / 1.098 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6.01e-07/0.5259, allocations: 0 / 1.098 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005942/0.5265, allocations: 24 kB / 1.098 GB, free: 7.094 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007223/0.5273, allocations: 0.8359 MB / 1.098 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000258/0.5276, allocations: 67.83 kB / 1.099 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5276, allocations: 0 / 1.099 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.121e-06/0.5276, allocations: 4.375 kB / 1.099 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009781/0.5286, allocations: 484.8 kB / 1.099 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006192/0.5348, allocations: 3.275 MB / 1.102 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005805/0.5354, allocations: 0.771 MB / 1.103 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001956/0.5356, allocations: 45.53 kB / 1.103 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.5358, allocations: 63.41 kB / 1.103 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of SimCode: time 1.152e-06/0.5358, allocations: 0 / 1.103 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03752/0.5734, allocations: 4.586 MB / 1.108 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.23, allocations: 1.719 kB / 1.108 GB, free: 12.9 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches