Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009511/0.000951, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001171/0.001171, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 223.3 MB / 240 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.739/2.739, allocations: 390.9 MB / 0.666 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003765, allocations: 11.94 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8161/0.8165, allocations: 142.4 MB / 0.9544 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003099/0.8197, allocations: 1.714 MB / 0.9561 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003555/0.8233, allocations: 1.478 MB / 0.9576 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006768/0.824, allocations: 7.75 kB / 0.9576 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.8242, allocations: 39.56 kB / 0.9576 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006181/0.8249, allocations: 55.52 kB / 0.9577 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.826, allocations: 225.6 kB / 0.9579 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001174/0.8272, allocations: 0.5617 MB / 0.9584 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006223/0.8278, allocations: 263.1 kB / 0.9587 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003543/0.8282, allocations: 137.7 kB / 0.9588 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003598/0.8286, allocations: 169.7 kB / 0.959 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.17e-05/0.8287, allocations: 15.12 kB / 0.959 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.8288, allocations: 29.98 kB / 0.959 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.151e-05/0.8289, allocations: 60.16 kB / 0.9591 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.8291, allocations: 107.8 kB / 0.9592 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006882/0.8298, allocations: 0.5896 MB / 0.9597 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.8298, allocations: 0 / 0.9597 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.845e-06/0.8298, allocations: 5.375 kB / 0.9598 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.08e-05/0.8299, allocations: 3.938 kB / 0.9598 GB, free: 3.617 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001646/0.8315, allocations: 0.7179 MB / 0.9605 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.8316, allocations: 12.81 kB / 0.9605 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002419/0.8319, allocations: 65.95 kB / 0.9605 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006739/0.8325, allocations: 350.6 kB / 0.9609 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.663e-05/0.8326, allocations: 49.42 kB / 0.9609 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.8328, allocations: 54.66 kB / 0.961 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.8343, allocations: 0.5062 MB / 0.9615 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.8343, allocations: 0 / 0.9615 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-05/0.8344, allocations: 20.72 kB / 0.9615 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-05/0.8344, allocations: 14.28 kB / 0.9615 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.8357, allocations: 370.4 kB / 0.9618 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00314/0.8389, allocations: 1.462 MB / 0.9633 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007761/0.8397, allocations: 285.3 kB / 0.9635 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005751/0.8403, allocations: 188 kB / 0.9637 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.663e-05/0.8403, allocations: 7.422 kB / 0.9637 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005127/0.8408, allocations: 206 kB / 0.9639 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 3.657e-06/0.8409, allocations: 0 / 0.9639 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.00129/0.8422, allocations: 404.4 kB / 0.9643 GB, free: 328 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.8422, allocations: 80.86 kB / 0.9644 GB, free: 232 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007433/0.843, allocations: 410.7 kB / 0.9648 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.707e-05/0.8431, allocations: 33.61 kB / 0.9648 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003004/0.8434, allocations: 266.2 kB / 0.9651 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.8435, allocations: 112.3 kB / 0.9652 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.8436, allocations: 10.28 kB / 0.9652 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002133/0.8438, allocations: 356.1 kB / 0.9655 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000505/0.8443, allocations: 140 kB / 0.9657 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005961/0.8449, allocations: 211.1 kB / 0.9659 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006265/0.8456, allocations: 178.2 kB / 0.966 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.8456, allocations: 1.219 kB / 0.966 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001542/0.8471, allocations: 483 kB / 0.9665 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.957e-05/0.8472, allocations: 37.92 kB / 0.9665 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.8473, allocations: 2.125 kB / 0.9665 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.354e-05/0.8473, allocations: 7.25 kB / 0.9665 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/0.8478, allocations: 87.83 kB / 0.9666 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/0.8479, allocations: 4.188 kB / 0.9666 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006903/0.8486, allocations: 92.61 kB / 0.9667 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.49e-05/0.8487, allocations: 21.53 kB / 0.9667 GB, free: 14.55 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.TRoo1.booPul.y,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003673/0.849, allocations: 177.3 kB / 0.9669 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.8492, allocations: 46.25 kB / 0.9669 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.8502, allocations: 341.9 kB / 0.9673 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.8503, allocations: 8.422 kB / 0.9673 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.8503, allocations: 0 / 0.9673 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.8503, allocations: 1 kB / 0.9673 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.8524, allocations: 0.9792 MB / 0.9682 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/0.8524, allocations: 1.969 kB / 0.9682 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003958/0.8528, allocations: 67.81 kB / 0.9683 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.555e-05/0.8529, allocations: 4 kB / 0.9683 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.323e-05/0.8529, allocations: 12.61 kB / 0.9683 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.36e-05/0.8529, allocations: 6.891 kB / 0.9683 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.853, allocations: 2 kB / 0.9683 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.8541, allocations: 0.5188 MB / 0.9688 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.8544, allocations: 124.8 kB / 0.969 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-05/0.8545, allocations: 7.281 kB / 0.969 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.8548, allocations: 17.52 kB / 0.969 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.855, allocations: 27.27 kB / 0.969 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.855, allocations: 16.16 kB / 0.969 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000493/0.8555, allocations: 288.8 kB / 0.9693 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8555, allocations: 0 / 0.9693 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008137/0.8563, allocations: 108.5 kB / 0.9694 GB, free: 12.57 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002483/0.8566, allocations: 116.8 kB / 0.9695 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.8578, allocations: 390.5 kB / 0.9699 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8578, allocations: 1.094 kB / 0.9699 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004255/0.8583, allocations: 137.4 kB / 0.97 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.8593, allocations: 76 kB / 0.9701 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.8616, allocations: 0.8845 MB / 0.971 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006915/0.8623, allocations: 0.8215 MB / 0.9718 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003156/0.8626, allocations: 44.05 kB / 0.9718 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.8628, allocations: 33.81 kB / 0.9718 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of SimCode: time 1.263e-06/0.8628, allocations: 0 / 0.9718 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.01413/0.877, allocations: 3.584 MB / 0.9753 GB, free: 8.953 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches