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.0008641/0.0008641, allocations: 98.88 kB / 16.02 MB, free: 76 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.0009985/0.0009986, allocations: 183.1 kB / 16.92 MB, free: 6.684 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.466/1.466, allocations: 223.3 MB / 241 MB, free: 5.363 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.613/2.613, allocations: 390.9 MB / 0.667 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003707, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.767/0.7674, allocations: 142.4 MB / 0.9557 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.001994/0.7694, allocations: 1.846 MB / 0.9575 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.7714, allocations: 1.5 MB / 0.959 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.7716, allocations: 9.312 kB / 0.959 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.615e-05/0.7717, allocations: 35.58 kB / 0.959 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.7719, allocations: 67.53 kB / 0.9591 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005657/0.7725, allocations: 266.2 kB / 0.9593 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004445/0.7729, allocations: 0.5769 MB / 0.9599 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004227/0.7734, allocations: 346.9 kB / 0.9602 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.7735, allocations: 146.7 kB / 0.9604 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.7737, allocations: 176.5 kB / 0.9605 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/0.7738, allocations: 16.66 kB / 0.9606 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.192e-05/0.7739, allocations: 24.64 kB / 0.9606 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.236e-05/0.7739, allocations: 71.83 kB / 0.9607 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001833/0.7741, allocations: 239.6 kB / 0.9609 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.7746, allocations: 0.5906 MB / 0.9615 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.7746, allocations: 0 / 0.9615 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7746, allocations: 0 / 0.9615 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.7746, allocations: 0.9688 kB / 0.9615 GB, free: 3.242 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.0008868/0.7755, allocations: 0.7126 MB / 0.9622 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.7755, allocations: 9.625 kB / 0.9622 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.7756, allocations: 62.44 kB / 0.9622 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.776, allocations: 359.7 kB / 0.9626 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.7761, allocations: 41.19 kB / 0.9626 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.453e-05/0.7761, allocations: 58.72 kB / 0.9627 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008533/0.777, allocations: 0.5111 MB / 0.9632 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.777, allocations: 1.156 kB / 0.9632 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.7771, allocations: 24.31 kB / 0.9632 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.7771, allocations: 13.53 kB / 0.9632 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006939/0.7778, allocations: 374.5 kB / 0.9636 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.7796, allocations: 1.458 MB / 0.965 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005419/0.7802, allocations: 294.8 kB / 0.9653 GB, free: 384 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/0.7806, allocations: 190 kB / 0.9654 GB, free: 288 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.7806, allocations: 3.75 kB / 0.9654 GB, free: 288 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003807/0.781, allocations: 207.7 kB / 0.9656 GB, free: 136 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 2.094e-06/0.781, allocations: 0 / 0.9656 GB, free: 136 kB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.0008561/0.7819, allocations: 413.4 kB / 0.966 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.782, allocations: 82.23 kB / 0.9661 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004849/0.7824, allocations: 411.2 kB / 0.9665 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.7825, allocations: 32.73 kB / 0.9665 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.7827, allocations: 272.3 kB / 0.9668 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.186e-05/0.7828, allocations: 104 kB / 0.9669 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-05/0.7829, allocations: 47.25 kB / 0.9669 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.783, allocations: 348.7 kB / 0.9673 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/0.7834, allocations: 141.2 kB / 0.9674 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.7837, allocations: 211.6 kB / 0.9676 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006403/0.7844, allocations: 355.9 kB / 0.968 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7844, allocations: 1 kB / 0.968 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009337/0.7853, allocations: 487.4 kB / 0.9684 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.899e-05/0.7854, allocations: 38.22 kB / 0.9685 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.7854, allocations: 5.969 kB / 0.9685 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.7854, allocations: 8.219 kB / 0.9685 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.7858, allocations: 79.06 kB / 0.9685 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/0.7858, allocations: 15.89 kB / 0.9686 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004351/0.7862, allocations: 92.41 kB / 0.9686 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.7863, allocations: 18.27 kB / 0.9687 GB, free: 14 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.0002163/0.7865, allocations: 169.9 kB / 0.9688 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-05/0.7866, allocations: 41.55 kB / 0.9689 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007651/0.7873, allocations: 340.1 kB / 0.9692 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.7874, allocations: 4.219 kB / 0.9692 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.7874, allocations: 3.938 kB / 0.9692 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.7874, allocations: 4.859 kB / 0.9692 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.7887, allocations: 0.985 MB / 0.9702 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.7888, allocations: 1.969 kB / 0.9702 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.789, allocations: 67.28 kB / 0.9702 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.789, allocations: 4.031 kB / 0.9702 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.7891, allocations: 11.53 kB / 0.9702 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.7891, allocations: 4.094 kB / 0.9703 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.7891, allocations: 2.656 kB / 0.9703 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007147/0.7898, allocations: 0.5276 MB / 0.9708 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.7899, allocations: 124.3 kB / 0.9709 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.79, allocations: 12.34 kB / 0.9709 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.7902, allocations: 16.83 kB / 0.9709 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.7903, allocations: 23.59 kB / 0.9709 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.7903, allocations: 16.81 kB / 0.971 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000332/0.7907, allocations: 287.7 kB / 0.9712 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7907, allocations: 4 kB / 0.9712 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004974/0.7912, allocations: 107.4 kB / 0.9713 GB, free: 12.03 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.000188/0.7914, allocations: 114.4 kB / 0.9714 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007593/0.7921, allocations: 400.4 kB / 0.9718 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.7922, allocations: 1.031 kB / 0.9718 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003058/0.7925, allocations: 146.8 kB / 0.972 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.7932, allocations: 68.94 kB / 0.972 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.7946, allocations: 0.9612 MB / 0.973 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.795, allocations: 0.8261 MB / 0.9738 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.7951, allocations: 41.47 kB / 0.9738 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/0.7951, allocations: 0 / 0.9738 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.008984/0.8041, allocations: 4.948 MB / 0.9786 GB, free: 7.312 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/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