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.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: 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.001188/0.001188, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 193.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 222.9 MB / 240.2 MB, free: 4.383 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 2.636/2.636, allocations: 390.2 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001459, allocations: 67.89 kB / 0.8125 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8481/0.8495, allocations: 140.4 MB / 0.9496 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003292/0.8529, allocations: 2.217 MB / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002254/0.8552, allocations: 1.522 MB / 0.9532 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000276/0.8555, allocations: 7.75 kB / 0.9533 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.8556, allocations: 63.19 kB / 0.9533 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.8559, allocations: 87.41 kB / 0.9534 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007494/0.8567, allocations: 292.7 kB / 0.9537 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006064/0.8573, allocations: 0.648 MB / 0.9543 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005145/0.8578, allocations: 367.8 kB / 0.9547 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.8581, allocations: 231.6 kB / 0.9549 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.8584, allocations: 251.1 kB / 0.9551 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.8585, allocations: 70.19 kB / 0.9552 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.8587, allocations: 88.98 kB / 0.9553 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.172e-05/0.8588, allocations: 132.2 kB / 0.9554 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.859, allocations: 291.3 kB / 0.9557 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005878/0.8596, allocations: 0.7616 MB / 0.9564 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.8596, allocations: 0 / 0.9564 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8596, allocations: 0 / 0.9564 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.8596, allocations: 4 kB / 0.9564 GB, free: 3.715 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.001145/0.8608, allocations: 0.8063 MB / 0.9572 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.8608, allocations: 9.25 kB / 0.9572 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.861, allocations: 63.22 kB / 0.9573 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.8613, allocations: 354.9 kB / 0.9576 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.393e-05/0.8614, allocations: 54.34 kB / 0.9577 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.866e-05/0.8615, allocations: 58.48 kB / 0.9577 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000804/0.8623, allocations: 0.4984 MB / 0.9582 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.8623, allocations: 1.844 kB / 0.9582 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/0.8624, allocations: 28.44 kB / 0.9582 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.8624, allocations: 13.44 kB / 0.9583 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006656/0.8631, allocations: 360 kB / 0.9586 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.865, allocations: 1.456 MB / 0.96 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005885/0.8656, allocations: 290.2 kB / 0.9603 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/0.866, allocations: 182 kB / 0.9605 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.866, allocations: 3.812 kB / 0.9605 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004504/0.8665, allocations: 202.2 kB / 0.9607 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 1.804e-06/0.8665, allocations: 1.219 kB / 0.9607 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.0008881/0.8674, allocations: 394.3 kB / 0.961 GB, free: 352 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.8675, allocations: 81.23 kB / 0.9611 GB, free: 256 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/0.8679, allocations: 412.3 kB / 0.9615 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.868, allocations: 32.27 kB / 0.9615 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.8682, allocations: 268.6 kB / 0.9618 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.904e-05/0.8683, allocations: 107.4 kB / 0.9619 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.8685, allocations: 88.48 kB / 0.962 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.8686, allocations: 352.6 kB / 0.9623 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/0.8689, allocations: 136.3 kB / 0.9625 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.8693, allocations: 202.8 kB / 0.9626 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005786/0.8699, allocations: 345.3 kB / 0.963 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.8699, allocations: 4 kB / 0.963 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008877/0.8708, allocations: 468.3 kB / 0.9634 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.233e-05/0.8708, allocations: 40.66 kB / 0.9635 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.8709, allocations: 2.688 kB / 0.9635 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.8709, allocations: 3.469 kB / 0.9635 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.8712, allocations: 81.08 kB / 0.9635 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.8713, allocations: 12 kB / 0.9636 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000422/0.8717, allocations: 84.59 kB / 0.9636 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.8717, allocations: 14 kB / 0.9637 GB, free: 14.4 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,TRoo1.booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002052/0.872, allocations: 173.2 kB / 0.9638 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.471e-05/0.872, allocations: 42.59 kB / 0.9639 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006822/0.8727, allocations: 334.6 kB / 0.9642 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.8727, allocations: 3.875 kB / 0.9642 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.8727, allocations: 9.047 kB / 0.9642 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.8728, allocations: 0 / 0.9642 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.874, allocations: 0.9686 MB / 0.9651 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.8741, allocations: 0.9688 kB / 0.9651 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.8743, allocations: 61.69 kB / 0.9652 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.8743, allocations: 2.781 kB / 0.9652 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.8744, allocations: 9.25 kB / 0.9652 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.8744, allocations: 6.844 kB / 0.9652 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.8744, allocations: 2.875 kB / 0.9652 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006692/0.8751, allocations: 0.5066 MB / 0.9657 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.8752, allocations: 124.9 kB / 0.9658 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.8752, allocations: 15.58 kB / 0.9658 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.8755, allocations: 14.16 kB / 0.9659 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.8755, allocations: 23.5 kB / 0.9659 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.8756, allocations: 21.41 kB / 0.9659 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003563/0.8759, allocations: 287.5 kB / 0.9662 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8759, allocations: 0 / 0.9662 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005549/0.8765, allocations: 115.9 kB / 0.9663 GB, free: 12.43 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 (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.0002395/0.8767, allocations: 114.4 kB / 0.9664 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009355/0.8777, allocations: 401.2 kB / 0.9668 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.8777, allocations: 1.094 kB / 0.9668 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003212/0.878, allocations: 134.6 kB / 0.9669 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006453/0.8787, allocations: 74.05 kB / 0.967 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.8803, allocations: 0.744 MB / 0.9677 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.8807, allocations: 0.8294 MB / 0.9685 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001812/0.8809, allocations: 43.92 kB / 0.9686 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.499e-05/0.881, allocations: 33.62 kB / 0.9686 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.881, allocations: 0 / 0.9686 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of Templates: time 0.009231/0.8902, allocations: 3.962 MB / 0.9725 GB, free: 8.77 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