Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009641/0.0009641, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.046/1.046, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.963/1.963, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.752e-05, allocations: 2.312 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002392/0.002419, allocations: 1.916 MB / 0.7619 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003143/0.002733, allocations: 134.9 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.008e-05/0.002813, allocations: 0 / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.002924, allocations: 20.66 kB / 0.762 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.597e-05/0.00301, allocations: 58.83 kB / 0.7621 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001073/0.003118, allocations: 35.94 kB / 0.7621 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.003284, allocations: 175 kB / 0.7623 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.368e-05/0.003377, allocations: 21.89 kB / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.918e-05/0.003477, allocations: 80.61 kB / 0.7624 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.069e-05/0.003557, allocations: 55.86 kB / 0.7624 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.003582, allocations: 8.562 kB / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.909e-05/0.003601, allocations: 12.75 kB / 0.7625 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.003625, allocations: 23.92 kB / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/0.003666, allocations: 48.94 kB / 0.7625 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.003792, allocations: 99.64 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.003794, allocations: 0 / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003795, allocations: 1.094 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.003799, allocations: 0 / 0.7626 GB, free: 3.992 MB / 0.7136 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.0004145/0.004213, allocations: 346 kB / 0.763 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.004246, allocations: 12.03 kB / 0.763 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.00428, allocations: 17.8 kB / 0.763 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.004425, allocations: 145.5 kB / 0.7631 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.004433, allocations: 5.625 kB / 0.7631 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.004445, allocations: 8.375 kB / 0.7631 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.004582, allocations: 92.62 kB / 0.7632 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.00459, allocations: 5.219 kB / 0.7632 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.0046, allocations: 4.375 kB / 0.7632 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.004606, allocations: 4.375 kB / 0.7632 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.081e-05/0.004656, allocations: 30.61 kB / 0.7633 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.005017, allocations: 308.2 kB / 0.7636 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.005168, allocations: 73.2 kB / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.005203, allocations: 28.36 kB / 0.7637 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.005221, allocations: 7.938 kB / 0.7637 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.005244, allocations: 38.5 kB / 0.7637 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.005245, allocations: 0 / 0.7637 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001643/0.005409, allocations: 73.61 kB / 0.7638 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.005447, allocations: 81.11 kB / 0.7639 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.49e-05/0.005532, allocations: 149.7 kB / 0.764 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.005544, allocations: 33.7 kB / 0.764 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.005591, allocations: 105.1 kB / 0.7641 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.005611, allocations: 31.73 kB / 0.7642 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.005646, allocations: 25.7 kB / 0.7642 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.11e-05/0.005727, allocations: 325.2 kB / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.005746, allocations: 7.984 kB / 0.7645 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.02e-05/0.005777, allocations: 25.7 kB / 0.7645 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.731e-05/0.005834, allocations: 45.88 kB / 0.7646 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.005835, allocations: 0 / 0.7646 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.738e-05/0.005923, allocations: 73.55 kB / 0.7646 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.005936, allocations: 8.781 kB / 0.7646 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.00594, allocations: 0 / 0.7646 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.005952, allocations: 4 kB / 0.7646 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.671e-05/0.006029, allocations: 19.98 kB / 0.7647 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.006031, allocations: 0 / 0.7647 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.006076, allocations: 11.95 kB / 0.7647 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.006083, allocations: 1.875 kB / 0.7647 GB, free: 1.707 MB / 0.7136 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 6.042e-05/0.006143, allocations: 109.8 kB / 0.7648 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.006178, allocations: 23.86 kB / 0.7648 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.006307, allocations: 84.02 kB / 0.7649 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.006311, allocations: 4.031 kB / 0.7649 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.006312, allocations: 0 / 0.7649 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.006317, allocations: 4.938 kB / 0.7649 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.006458, allocations: 105.7 kB / 0.765 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.006461, allocations: 4.188 kB / 0.765 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.909e-05/0.00652, allocations: 26.61 kB / 0.765 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.006523, allocations: 4 kB / 0.765 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.006529, allocations: 0 / 0.765 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.006532, allocations: 3.938 kB / 0.765 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.006533, allocations: 0 / 0.765 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.006653, allocations: 238.8 kB / 0.7653 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.006676, allocations: 15.89 kB / 0.7653 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.006689, allocations: 2.438 kB / 0.7653 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.215e-05/0.006761, allocations: 11.92 kB / 0.7653 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.006793, allocations: 11.98 kB / 0.7653 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.006798, allocations: 0 / 0.7653 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.869e-05/0.006827, allocations: 39.16 kB / 0.7653 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/0.006827, allocations: 0 / 0.7653 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001537/0.00698, allocations: 33.09 kB / 0.7654 GB, free: 0.957 MB / 0.7136 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 7.479e-05/0.007055, allocations: 82.62 kB / 0.7655 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.007162, allocations: 40.78 kB / 0.7655 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.007167, allocations: 4 kB / 0.7655 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.048e-05/0.007198, allocations: 24.8 kB / 0.7655 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.007427, allocations: 42.06 kB / 0.7656 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/0.007868, allocations: 234.7 kB / 0.7658 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.937e-05/0.007907, allocations: 63.34 kB / 0.7658 GB, free: 424 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.485e-05/0.007952, allocations: 7.719 kB / 0.7658 GB, free: 420 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.008098, allocations: 92.23 kB / 0.7659 GB, free: 328 kB / 0.7136 GB Notification: Performance of SimCode: time 1.342e-06/0.008099, allocations: 3.938 kB / 0.7659 GB, free: 324 kB / 0.7136 GB Notification: Performance of Templates: time 0.003764/0.01186, allocations: 2.264 MB / 0.7682 GB, free: 14.2 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.189389010891318]