Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.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.001106/0.001106, allocations: 83.69 kB / 20.45 MB, free: 4.129 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.00121/0.00121, allocations: 161 kB / 23.82 MB, free: 0.7617 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.9304/0.9304, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.875/1.875, allocations: 377.9 MB / 0.6236 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 178] 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.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3361,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3361,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.02e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.002262/0.002283, allocations: 1.862 MB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.00402, allocations: 1.767 MB / 0.8151 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.823e-05/0.004098, allocations: 8.875 kB / 0.8151 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.004271, allocations: 35.66 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.919e-05/0.00437, allocations: 17.17 kB / 0.8151 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006259/0.004996, allocations: 267 kB / 0.8154 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.005247, allocations: 260.6 kB / 0.8156 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.005355, allocations: 37.78 kB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.005548, allocations: 140.9 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.005651, allocations: 71.77 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.005673, allocations: 12 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002951/0.005968, allocations: 236.7 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.002e-05/0.006048, allocations: 75.8 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.883e-05/0.006107, allocations: 63.81 kB / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.006475, allocations: 362.7 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.006477, allocations: 0.75 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.51e-07/0.006477, allocations: 0 / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.006482, allocations: 5.344 kB / 0.8166 GB, free: 12.54 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005909/0.007073, allocations: 0.5815 MB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.007103, allocations: 9.969 kB / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.007243, allocations: 52.77 kB / 0.8172 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.007438, allocations: 194.1 kB / 0.8174 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.007463, allocations: 20.36 kB / 0.8174 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.007497, allocations: 24.38 kB / 0.8174 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.007703, allocations: 156.2 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.007714, allocations: 7.922 kB / 0.8176 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.007731, allocations: 11.98 kB / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.007739, allocations: 4 kB / 0.8176 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.089e-05/0.00783, allocations: 52.78 kB / 0.8177 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008763/0.008706, allocations: 0.5159 MB / 0.8182 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.008881, allocations: 127.6 kB / 0.8183 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.561e-05/0.008946, allocations: 52.97 kB / 0.8183 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.008964, allocations: 7.938 kB / 0.8184 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.009104, allocations: 126.9 kB / 0.8185 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=27): time 5.28e-06/0.009109, allocations: 0.875 kB / 0.8185 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.000364/0.009473, allocations: 280.3 kB / 0.8187 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.009518, allocations: 75.33 kB / 0.8188 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.00963, allocations: 222.6 kB / 0.819 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.009658, allocations: 49.69 kB / 0.8191 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.009722, allocations: 177 kB / 0.8192 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.009779, allocations: 87.36 kB / 0.8193 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.24e-05/0.009851, allocations: 87.86 kB / 0.8194 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.009965, allocations: 0.5087 MB / 0.8199 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-05/0.01004, allocations: 48.95 kB / 0.82 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.01019, allocations: 232.2 kB / 0.8202 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.01043, allocations: 315.4 kB / 0.8205 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01043, allocations: 0 / 0.8205 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003132/0.01074, allocations: 299.9 kB / 0.8208 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.01076, allocations: 4 kB / 0.8208 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.01077, allocations: 7.938 kB / 0.8208 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.01078, allocations: 8.844 kB / 0.8208 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.01094, allocations: 87.83 kB / 0.8209 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.01095, allocations: 7.938 kB / 0.8209 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.032e-05/0.01102, allocations: 37.12 kB / 0.8209 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.01104, allocations: 16 kB / 0.8209 GB, free: 7.762 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 34 (pyt.firstTrigger,$PRE.pyt.firstTrigger,pyt.yR[2],$PRE.pyt.yR[2],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[4],$PRE.pyt.uRIntPre[4],pyt.uRWri_temp[1],$PRE.pyt.uRWri_temp[1],pyt.uRWri[1],$PRE.pyt.uRWri[1],pyt.uRWri_temp[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri[4],$PRE.pyt.uRWri[4],pyt.sampleTrigger,$whenCondition1,pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[2],onOffCon.y,$PRE.onOffCon.y,pyt.uRWri_temp[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri[3],$PRE.pyt.uRWri[3],pyt.yR[1],$PRE.pyt.yR[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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 0.000106/0.01114, allocations: 201.3 kB / 0.8211 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.01117, allocations: 27.84 kB / 0.8211 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.01121, allocations: 29.56 kB / 0.8212 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.01121, allocations: 4 kB / 0.8212 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.01121, allocations: 0 / 0.8212 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.01122, allocations: 3.984 kB / 0.8212 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005336/0.01175, allocations: 0.5758 MB / 0.8217 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01175, allocations: 0 / 0.8217 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-05/0.01182, allocations: 28.05 kB / 0.8218 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.01182, allocations: 10.56 kB / 0.8218 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.01184, allocations: 7.984 kB / 0.8218 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01184, allocations: 0 / 0.8218 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01184, allocations: 0 / 0.8218 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.01221, allocations: 445.4 kB / 0.8222 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.01223, allocations: 23.78 kB / 0.8222 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.01225, allocations: 11.98 kB / 0.8222 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.046e-05/0.01231, allocations: 16.92 kB / 0.8223 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.01236, allocations: 23.89 kB / 0.8223 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.01239, allocations: 13.12 kB / 0.8223 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.109e-05/0.01245, allocations: 161.2 kB / 0.8224 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01245, allocations: 0 / 0.8224 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002942/0.01274, allocations: 120.6 kB / 0.8226 GB, free: 6.02 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (pyt.uRInt[1],pyt.uRInt[2],pyt.uRInt[3],pyt.uRInt[4]) * Number of discrete variables: 18 (pyt.sampleTrigger,$whenCondition1,pyt.firstTrigger,pyt.yR[1],pyt.yR[2],pyt.uRIntPre[1],pyt.uRIntPre[2],pyt.uRIntPre[3],pyt.uRIntPre[4],pyt.uRWri[1],pyt.uRWri[2],pyt.uRWri[3],pyt.uRWri[4],pyt.uRWri_temp[1],pyt.uRWri_temp[2],pyt.uRWri_temp[3],pyt.uRWri_temp[4],onOffCon.y) * Number of discrete states: 5 (pyt.uR[1],pyt.uR[2],pyt.uR[3],pyt.uR[4],onOffCon.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0006364/0.01338, allocations: 362.4 kB / 0.8229 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002701/0.01365, allocations: 196.7 kB / 0.8231 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01365, allocations: 0 / 0.8231 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-05/0.01374, allocations: 85.95 kB / 0.8232 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.01396, allocations: 23.98 kB / 0.8232 GB, free: 5.441 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008109/0.01477, allocations: 451.1 kB / 0.8236 GB, free: 4.977 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.789e-05/0.01482, allocations: 84.31 kB / 0.8237 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.247e-05/0.0149, allocations: 46.19 kB / 0.8238 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.01494, allocations: 24.5 kB / 0.8238 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.01494, allocations: 0 / 0.8238 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of Templates: time 0.00554/0.02048, allocations: 3.552 MB / 0.8272 GB, free: 1.297 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.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.149247225839645]