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.001502/0.001502, allocations: 104.4 kB / 16.41 MB, free: 6.398 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.00143/0.001431, allocations: 195.7 kB / 17.35 MB, free: 5.695 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.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.223/2.223, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.91 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9607/0.9621, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003687/0.9658, allocations: 2.212 MB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002657/0.9685, allocations: 1.525 MB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003477/0.9689, allocations: 7.594 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.9691, allocations: 60 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.9694, allocations: 99.25 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009656/0.9704, allocations: 307.1 kB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009649/0.9714, allocations: 0.6425 MB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000569/0.9719, allocations: 360.7 kB / 1.094 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003363/0.9723, allocations: 233.8 kB / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.9726, allocations: 255.4 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.9728, allocations: 70.94 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.973, allocations: 84.3 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.9731, allocations: 130.8 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002913/0.9734, allocations: 286.7 kB / 1.095 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.9745, allocations: 0.7984 MB / 1.095 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.9745, allocations: 0 / 1.095 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.885e-06/0.9745, allocations: 1 kB / 1.095 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.743e-05/0.9745, allocations: 4 kB / 1.095 GB, free: 1.113 MB / 0.8575 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.001419/0.976, allocations: 0.8089 MB / 1.096 GB, free: 484 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.976, allocations: 10.2 kB / 1.096 GB, free: 484 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.9762, allocations: 59.09 kB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.9766, allocations: 358 kB / 1.097 GB, free: 144 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.143e-05/0.9767, allocations: 45.62 kB / 1.097 GB, free: 124 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.9768, allocations: 59.98 kB / 1.097 GB, free: 104 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.9779, allocations: 0.5055 MB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.978, allocations: 192 / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/0.978, allocations: 25.22 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.978, allocations: 13.84 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007842/0.9788, allocations: 360.3 kB / 1.098 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002462/0.9813, allocations: 1.446 MB / 1.099 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006034/0.9819, allocations: 290.1 kB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004356/0.9824, allocations: 180.4 kB / 1.099 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.9824, allocations: 3.969 kB / 1.099 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004708/0.9829, allocations: 199.6 kB / 1.1 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=34): time 2.184e-06/0.9829, allocations: 3.938 kB / 1.1 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.0009207/0.9838, allocations: 397 kB / 1.1 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.9839, allocations: 88.83 kB / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000517/0.9844, allocations: 411.9 kB / 1.101 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/0.9845, allocations: 37.02 kB / 1.101 GB, free: 14 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.9847, allocations: 259.2 kB / 1.101 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.9848, allocations: 113.4 kB / 1.101 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.985, allocations: 81.3 kB / 1.101 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.9851, allocations: 357.2 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.9855, allocations: 130.7 kB / 1.101 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.9858, allocations: 205.5 kB / 1.102 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006823/0.9865, allocations: 341.1 kB / 1.102 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.9865, allocations: 5 kB / 1.102 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001133/0.9877, allocations: 475.9 kB / 1.102 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-05/0.9878, allocations: 35.38 kB / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.9878, allocations: 1.781 kB / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.9878, allocations: 4.766 kB / 1.103 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/0.9882, allocations: 79.31 kB / 1.103 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/0.9883, allocations: 11.92 kB / 1.103 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005168/0.9888, allocations: 79.58 kB / 1.103 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/0.9889, allocations: 19.22 kB / 1.103 GB, free: 12.64 MB / 0.8731 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.0002514/0.9891, allocations: 170.5 kB / 1.103 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.761e-05/0.9892, allocations: 38.5 kB / 1.103 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.9903, allocations: 329 kB / 1.103 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.9903, allocations: 4.141 kB / 1.103 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.9903, allocations: 5.125 kB / 1.103 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.9903, allocations: 2.656 kB / 1.103 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.9926, allocations: 0.9698 MB / 1.104 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.9926, allocations: 2.188 kB / 1.104 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.993, allocations: 62 kB / 1.104 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.993, allocations: 2.75 kB / 1.104 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.9931, allocations: 8.688 kB / 1.104 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-05/0.9931, allocations: 4.938 kB / 1.104 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.9931, allocations: 5.094 kB / 1.104 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.9941, allocations: 0.5152 MB / 1.105 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.9943, allocations: 128.1 kB / 1.105 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.813e-05/0.9943, allocations: 13.94 kB / 1.105 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.9946, allocations: 16.11 kB / 1.105 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.038e-05/0.9947, allocations: 28 kB / 1.105 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.9947, allocations: 21.84 kB / 1.105 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000365/0.9951, allocations: 290.6 kB / 1.105 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9951, allocations: 0 / 1.105 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005771/0.9957, allocations: 109 kB / 1.105 GB, free: 10.92 MB / 0.8731 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.0001843/0.9959, allocations: 120.5 kB / 1.105 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007883/0.9967, allocations: 377.4 kB / 1.106 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.9967, allocations: 0 / 1.106 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.997, allocations: 145.5 kB / 1.106 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.9976, allocations: 67.31 kB / 1.106 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.9989, allocations: 0.7569 MB / 1.107 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.9994, allocations: 0.8209 MB / 1.108 GB, free: 9.359 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.9995, allocations: 38.61 kB / 1.108 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.9995, allocations: 0 / 1.108 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of Templates: time 0.01115/1.011, allocations: 5.049 MB / 1.113 GB, free: 8.754 MB / 0.8731 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/jenkins1/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