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.001198/0.001198, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001265/0.001265, allocations: 169 kB / 23.82 MB, free: 0.7461 MB / 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 0.9711/0.9711, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.86/1.86, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.174e-06/2.174e-06, allocations: 0 / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.609e-05, allocations: 5.781 kB / 0.8115 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002255/0.002281, allocations: 1.88 MB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0003057/0.002586, allocations: 118 kB / 0.8134 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.209e-05/0.002669, allocations: 5 kB / 0.8134 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.002795, allocations: 15.84 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.155e-05/0.002877, allocations: 49.27 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.003022, allocations: 39.92 kB / 0.8135 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.003217, allocations: 176.3 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.003335, allocations: 13.31 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.003441, allocations: 87.78 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.574e-05/0.003527, allocations: 52.53 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.003554, allocations: 8 kB / 0.8139 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.035e-05/0.003574, allocations: 13.25 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/0.003601, allocations: 23.91 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.003648, allocations: 39.92 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.003799, allocations: 107.6 kB / 0.814 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.003802, allocations: 2.438 kB / 0.814 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.71e-07/0.003802, allocations: 0 / 0.814 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.003807, allocations: 0 / 0.814 GB, free: 15.15 MB / 0.7761 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.0005586/0.004366, allocations: 476.5 kB / 0.8145 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.004406, allocations: 13.12 kB / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.004456, allocations: 20.84 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.004644, allocations: 153.2 kB / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.004653, allocations: 384 / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.00467, allocations: 8.375 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.004857, allocations: 118.8 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.004868, allocations: 4.938 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.004881, allocations: 384 / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.004889, allocations: 1.562 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.76e-05/0.004966, allocations: 35.91 kB / 0.8148 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/0.005497, allocations: 487.9 kB / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.00572, allocations: 108.1 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.461e-05/0.005775, allocations: 35.45 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.005807, allocations: 4 kB / 0.8155 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.00583, allocations: 41.33 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.005831, allocations: 0 / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0002377/0.006069, allocations: 102.9 kB / 0.8156 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.006106, allocations: 77.11 kB / 0.8157 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.006226, allocations: 212.5 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.00624, allocations: 33.7 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.006307, allocations: 155.9 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.00633, allocations: 35.69 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.00637, allocations: 27.38 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.006499, allocations: 0.4928 MB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.703e-05/0.006536, allocations: 16.45 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.384e-05/0.00658, allocations: 32.25 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.484e-05/0.006665, allocations: 55.36 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.006667, allocations: 0 / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001318/0.006799, allocations: 94.64 kB / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.006813, allocations: 4 kB / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.006818, allocations: 0.5312 kB / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.006837, allocations: 5.375 kB / 0.8168 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.886e-05/0.006915, allocations: 19.98 kB / 0.8168 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.006921, allocations: 0 / 0.8168 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.282e-05/0.006964, allocations: 7.953 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.006972, allocations: 4.906 kB / 0.8168 GB, free: 12.07 MB / 0.7761 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 7.677e-05/0.007049, allocations: 165.3 kB / 0.817 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.007082, allocations: 15.89 kB / 0.817 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.007262, allocations: 104 kB / 0.8171 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.007264, allocations: 0 / 0.8171 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.007268, allocations: 4 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.007271, allocations: 0.7188 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.007433, allocations: 156.6 kB / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.007434, allocations: 0.875 kB / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.041e-05/0.007495, allocations: 23.92 kB / 0.8173 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.007497, allocations: 1.562 kB / 0.8173 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.007507, allocations: 8 kB / 0.8173 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.007508, allocations: 0 / 0.8173 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.007509, allocations: 0 / 0.8173 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.007695, allocations: 344.3 kB / 0.8176 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.007718, allocations: 39.69 kB / 0.8176 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.007735, allocations: 0 / 0.8176 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/0.007805, allocations: 7.312 kB / 0.8176 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.007848, allocations: 11.98 kB / 0.8177 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.007852, allocations: 0 / 0.8177 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.057e-05/0.007913, allocations: 155.9 kB / 0.8178 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.007913, allocations: 0 / 0.8178 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001813/0.008094, allocations: 31.94 kB / 0.8178 GB, free: 10.96 MB / 0.7761 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.734e-05/0.008171, allocations: 103.2 kB / 0.8179 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001272/0.008299, allocations: 52.36 kB / 0.818 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.0083, allocations: 0 / 0.818 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.341e-05/0.008343, allocations: 32.64 kB / 0.818 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.008634, allocations: 42.48 kB / 0.8181 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005846/0.009218, allocations: 231.1 kB / 0.8183 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.628e-05/0.009264, allocations: 63.34 kB / 0.8183 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.35e-05/0.009318, allocations: 15.45 kB / 0.8184 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.009368, allocations: 19.53 kB / 0.8184 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of SimCode: time 9.42e-07/0.009369, allocations: 0 / 0.8184 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of Templates: time 0.003833/0.0132, allocations: 2.156 MB / 0.8205 GB, free: 8.289 MB / 0.7761 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 -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.333482967689633]