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.001351/0.001351, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001682/0.001682, allocations: 181 kB / 24.09 MB, free: 412 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.009/1.009, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.838/1.838, allocations: 377.9 MB / 0.624 GB, free: 8.402 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 3.226e-06/3.226e-06, allocations: 3.938 kB / 0.812 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.63e-05/3.952e-05, allocations: 6.25 kB / 0.812 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002506/0.002545, allocations: 1.859 MB / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0003034/0.002849, allocations: 126.1 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.112e-05/0.00294, allocations: 1.594 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.003054, allocations: 19.8 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.064e-05/0.003124, allocations: 52.53 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.003249, allocations: 35.94 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.003415, allocations: 171.8 kB / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.003524, allocations: 21.23 kB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.00363, allocations: 81.55 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.945e-05/0.003709, allocations: 55.86 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.003736, allocations: 12 kB / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.884e-05/0.003755, allocations: 8 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.109e-05/0.003786, allocations: 25.45 kB / 0.8144 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.003834, allocations: 51.8 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.003989, allocations: 103.6 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.003992, allocations: 0 / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.163e-06/0.003993, allocations: 1.375 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.003998, allocations: 0 / 0.8145 GB, free: 14.89 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.0004962/0.004495, allocations: 473.7 kB / 0.815 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.004537, allocations: 12.03 kB / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.004575, allocations: 20.84 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.004729, allocations: 152.8 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.00474, allocations: 13.41 kB / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.00475, allocations: 4.375 kB / 0.8152 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.004902, allocations: 109.4 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.004909, allocations: 5.562 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.004919, allocations: 384 / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.004927, allocations: 4.375 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.342e-05/0.00498, allocations: 35.84 kB / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.005422, allocations: 457.8 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.005588, allocations: 98.09 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.959e-05/0.005628, allocations: 31.45 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.005651, allocations: 4.469 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.005678, allocations: 46.05 kB / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.00568, allocations: 0 / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0001894/0.005869, allocations: 94.05 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.005908, allocations: 78.77 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.006013, allocations: 208.7 kB / 0.8163 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.006025, allocations: 25.7 kB / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/0.006101, allocations: 158.7 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.006123, allocations: 39.67 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.006163, allocations: 27.97 kB / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.0063, allocations: 0.4969 MB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.67e-05/0.006327, allocations: 7.984 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.006359, allocations: 28.53 kB / 0.817 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.487e-05/0.006424, allocations: 51.28 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.006426, allocations: 0 / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001029/0.006529, allocations: 82.39 kB / 0.8172 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.006544, allocations: 7.938 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.006551, allocations: 5.156 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.006562, allocations: 4.188 kB / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.896e-05/0.006631, allocations: 20.89 kB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.006634, allocations: 0 / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.006677, allocations: 12.8 kB / 0.8172 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.006687, allocations: 7.984 kB / 0.8172 GB, free: 11.88 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.495e-05/0.006762, allocations: 154.8 kB / 0.8174 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.006794, allocations: 23.88 kB / 0.8174 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.006948, allocations: 90.75 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.006951, allocations: 4 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.006954, allocations: 0 / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.006957, allocations: 2.75 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.007118, allocations: 141.1 kB / 0.8176 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.007121, allocations: 0 / 0.8176 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.372e-05/0.007174, allocations: 23.92 kB / 0.8176 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.007177, allocations: 0 / 0.8176 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.007186, allocations: 3.938 kB / 0.8176 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.007188, allocations: 0 / 0.8176 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.007189, allocations: 5.5 kB / 0.8177 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.007375, allocations: 343 kB / 0.818 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.007394, allocations: 15.84 kB / 0.818 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.007408, allocations: 7.938 kB / 0.818 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.007479, allocations: 8.5 kB / 0.818 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.00752, allocations: 9.328 kB / 0.818 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.007525, allocations: 0 / 0.818 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.916e-05/0.007594, allocations: 157 kB / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007594, allocations: 0 / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001757/0.00777, allocations: 25 kB / 0.8182 GB, free: 10.84 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 0.0001014/0.007871, allocations: 99.89 kB / 0.8183 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.007977, allocations: 43.61 kB / 0.8183 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.007979, allocations: 7.688 kB / 0.8183 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.484e-05/0.008014, allocations: 31.91 kB / 0.8184 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.008308, allocations: 44.36 kB / 0.8184 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005353/0.008843, allocations: 227.6 kB / 0.8186 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.688e-05/0.00889, allocations: 67.33 kB / 0.8187 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.631e-05/0.008946, allocations: 11.69 kB / 0.8187 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.009055, allocations: 110.2 kB / 0.8188 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of SimCode: time 1.012e-06/0.009056, allocations: 0 / 0.8188 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of Templates: time 0.003929/0.01299, allocations: 2.355 MB / 0.8211 GB, free: 7.875 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.245696323923767]