Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Examples.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.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 103.2 kB / 15.99 MB, free: 6.348 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.001283/0.001283, allocations: 194.3 kB / 16.91 MB, free: 6.188 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.346/1.346, allocations: 222.9 MB / 240.6 MB, free: 13.72 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.451/2.451, allocations: 390.2 MB / 0.665 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 61.69 kB / 0.8127 GB, free: 32.43 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4318, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.005147/0.4371, allocations: 1.889 MB / 0.9516 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000601/0.4377, allocations: 115.6 kB / 0.9517 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.438, allocations: 4 kB / 0.9517 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.4382, allocations: 15.86 kB / 0.9517 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.4384, allocations: 43.56 kB / 0.9518 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.4386, allocations: 27.97 kB / 0.9518 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.439, allocations: 171.2 kB / 0.952 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.4392, allocations: 32.88 kB / 0.952 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.4393, allocations: 55.84 kB / 0.952 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.4395, allocations: 71.62 kB / 0.9521 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.4395, allocations: 8 kB / 0.9521 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.191e-05/0.4395, allocations: 12 kB / 0.9521 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.4396, allocations: 19.92 kB / 0.9522 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.474e-05/0.4397, allocations: 63.67 kB / 0.9522 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.4399, allocations: 88.08 kB / 0.9523 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4399, allocations: 0 / 0.9523 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4399, allocations: 4 kB / 0.9523 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.4399, allocations: 0 / 0.9523 GB, free: 6.613 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009132/0.4408, allocations: 454.8 kB / 0.9527 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4409, allocations: 8.031 kB / 0.9527 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.821e-05/0.441, allocations: 20.75 kB / 0.9528 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.4412, allocations: 198.1 kB / 0.9529 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.4413, allocations: 12.38 kB / 0.953 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.4413, allocations: 8.375 kB / 0.953 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003209/0.4416, allocations: 118.2 kB / 0.9531 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4416, allocations: 4.172 kB / 0.9531 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.4417, allocations: 11.94 kB / 0.9531 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.4417, allocations: 0 / 0.9531 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.442, allocations: 95.88 kB / 0.9532 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008046/0.4428, allocations: 476.6 kB / 0.9536 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.4432, allocations: 133.2 kB / 0.9538 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.4434, allocations: 57.78 kB / 0.9538 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.4434, allocations: 0 / 0.9538 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.4435, allocations: 46.55 kB / 0.9539 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.4435, allocations: 0 / 0.9539 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0005789/0.444, allocations: 169.5 kB / 0.954 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.4441, allocations: 85.11 kB / 0.9541 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.4443, allocations: 174.3 kB / 0.9543 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.4443, allocations: 33.64 kB / 0.9543 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.623e-05/0.4444, allocations: 112 kB / 0.9544 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.4444, allocations: 31.55 kB / 0.9544 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.4445, allocations: 21.72 kB / 0.9545 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4446, allocations: 326.8 kB / 0.9548 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.4448, allocations: 43.95 kB / 0.9548 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.4449, allocations: 65.62 kB / 0.9549 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.4452, allocations: 97.67 kB / 0.955 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4452, allocations: 3.938 kB / 0.955 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003736/0.4456, allocations: 141.8 kB / 0.9551 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.4456, allocations: 15.98 kB / 0.9551 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.4456, allocations: 0 / 0.9551 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.4457, allocations: 0 / 0.9551 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.4458, allocations: 27.92 kB / 0.9552 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.4459, allocations: 4 kB / 0.9552 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.446, allocations: 7.984 kB / 0.9552 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.446, allocations: 11.94 kB / 0.9552 GB, free: 3.398 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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 9.954e-05/0.4461, allocations: 113.8 kB / 0.9553 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.4462, allocations: 19.81 kB / 0.9553 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004309/0.4466, allocations: 154.5 kB / 0.9555 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4466, allocations: 4 kB / 0.9555 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4466, allocations: 0 / 0.9555 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4466, allocations: 0 / 0.9555 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.447, allocations: 229.5 kB / 0.9557 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.447, allocations: 4 kB / 0.9557 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.4471, allocations: 19.98 kB / 0.9557 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4471, allocations: 0 / 0.9557 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.4472, allocations: 4 kB / 0.9557 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.4472, allocations: 0 / 0.9557 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4472, allocations: 3.938 kB / 0.9557 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.4476, allocations: 318.8 kB / 0.956 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.4476, allocations: 88.95 kB / 0.9561 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.4477, allocations: 4 kB / 0.9561 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.4479, allocations: 11.97 kB / 0.9561 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.4479, allocations: 11.98 kB / 0.9561 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.448, allocations: 7.938 kB / 0.9561 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001062/0.4481, allocations: 124.5 kB / 0.9563 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4481, allocations: 0 / 0.9563 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003049/0.4484, allocations: 36 kB / 0.9563 GB, free: 2.172 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0001148/0.4485, allocations: 99.19 kB / 0.9564 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003692/0.4489, allocations: 107.9 kB / 0.9565 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.4489, allocations: 0 / 0.9565 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.4491, allocations: 55.91 kB / 0.9565 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.4496, allocations: 44.39 kB / 0.9566 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005757/0.4502, allocations: 293.2 kB / 0.9569 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.4505, allocations: 0.7006 MB / 0.9575 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.698e-05/0.4506, allocations: 19.44 kB / 0.9576 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/0.4506, allocations: 0 / 0.9576 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of Templates: time 0.00407/0.4546, allocations: 1.76 MB / 0.9593 GB, free: 15.06 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches