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.0008836/0.0008836, allocations: 80.8 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.001282/0.001282, 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 0.9802/0.9802, allocations: 177.2 MB / 204.6 MB, free: 5.469 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.893/1.893, allocations: 377.9 MB / 0.624 GB, free: 8.324 MB / 0.5886 GB " [Timeout remaining time 178] 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.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.633e-06/1.633e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.117e-05, allocations: 2.312 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003024/0.003045, allocations: 1.869 MB / 0.7618 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002149/0.005194, allocations: 1.792 MB / 0.7636 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.261e-05/0.005287, allocations: 3.938 kB / 0.7636 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.005457, allocations: 34.48 kB / 0.7636 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.00556, allocations: 21.55 kB / 0.7636 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007238/0.006284, allocations: 260.5 kB / 0.7639 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.006579, allocations: 264.6 kB / 0.7641 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.006688, allocations: 42.42 kB / 0.7642 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.00691, allocations: 139.6 kB / 0.7643 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.007027, allocations: 65.09 kB / 0.7644 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.007051, allocations: 12 kB / 0.7644 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003561/0.007407, allocations: 235.5 kB / 0.7646 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.554e-05/0.007503, allocations: 80.38 kB / 0.7647 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.007569, allocations: 64.34 kB / 0.7647 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004302/0.007999, allocations: 358.8 kB / 0.7651 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.008002, allocations: 1.562 kB / 0.7651 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.22e-07/0.008003, allocations: 0 / 0.7651 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.008007, allocations: 0 / 0.7651 GB, free: 1.434 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005864/0.008594, allocations: 471.1 kB / 0.7655 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.008627, allocations: 12.02 kB / 0.7655 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.008766, allocations: 41.66 kB / 0.7656 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.008982, allocations: 184 kB / 0.7658 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.009006, allocations: 16.38 kB / 0.7658 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.009049, allocations: 33.11 kB / 0.7658 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.009244, allocations: 142.4 kB / 0.7659 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.009254, allocations: 6.125 kB / 0.7659 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.009272, allocations: 15.88 kB / 0.766 GB, free: 488 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.00928, allocations: 4 kB / 0.766 GB, free: 484 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.83e-05/0.009348, allocations: 35.97 kB / 0.766 GB, free: 448 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007146/0.01006, allocations: 378.8 kB / 0.7664 GB, free: 52 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.01024, allocations: 143 kB / 0.7665 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.397e-05/0.01029, allocations: 40.84 kB / 0.7665 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.01031, allocations: 4 kB / 0.7665 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.01044, allocations: 117.9 kB / 0.7667 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=27): time 1.663e-06/0.01044, allocations: 0 / 0.7667 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27): time 0.0002423/0.01068, allocations: 166.6 kB / 0.7668 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.01074, allocations: 75.33 kB / 0.7669 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.01084, allocations: 162.6 kB / 0.767 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.01087, allocations: 49.69 kB / 0.7671 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.01093, allocations: 124.9 kB / 0.7672 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.884e-05/0.01098, allocations: 79.34 kB / 0.7673 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/0.01107, allocations: 78.16 kB / 0.7674 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.01116, allocations: 341.5 kB / 0.7677 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.833e-05/0.01122, allocations: 32.98 kB / 0.7677 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.01134, allocations: 165.2 kB / 0.7679 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.01157, allocations: 246.9 kB / 0.7681 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.01158, allocations: 4 kB / 0.7681 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002933/0.01187, allocations: 230.7 kB / 0.7683 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.01188, allocations: 7.984 kB / 0.7683 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.01189, allocations: 4 kB / 0.7683 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.01191, allocations: 8 kB / 0.7683 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.01211, allocations: 79.84 kB / 0.7684 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.01212, allocations: 7.938 kB / 0.7684 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.01223, allocations: 39.77 kB / 0.7685 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.01224, allocations: 19.12 kB / 0.7685 GB, free: 13.69 MB / 0.7292 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.0001319/0.01238, allocations: 163.1 kB / 0.7686 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.01241, allocations: 15.98 kB / 0.7687 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.537e-05/0.01244, allocations: 27.23 kB / 0.7687 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.01245, allocations: 4 kB / 0.7687 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.01245, allocations: 5.031 kB / 0.7687 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01245, allocations: 0 / 0.7687 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/0.01293, allocations: 402.9 kB / 0.7691 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01293, allocations: 0.9375 kB / 0.7691 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.206e-05/0.013, allocations: 15.98 kB / 0.7691 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.01301, allocations: 4.906 kB / 0.7691 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.01303, allocations: 7.984 kB / 0.7691 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.01303, allocations: 7.938 kB / 0.7691 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01303, allocations: 1.062 kB / 0.7691 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.01332, allocations: 315.1 kB / 0.7694 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.01334, allocations: 26.28 kB / 0.7694 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.01337, allocations: 15.98 kB / 0.7695 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.01345, allocations: 11.92 kB / 0.7695 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.01349, allocations: 19.97 kB / 0.7695 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.01351, allocations: 11.98 kB / 0.7695 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.937e-05/0.01355, allocations: 42.75 kB / 0.7695 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.01355, allocations: 6.719 kB / 0.7695 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003815/0.01394, allocations: 107.6 kB / 0.7696 GB, free: 12.46 MB / 0.7292 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.000832/0.01477, allocations: 404.1 kB / 0.77 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.01501, allocations: 148.5 kB / 0.7702 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.01502, allocations: 8 kB / 0.7702 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.661e-05/0.01511, allocations: 61.84 kB / 0.7702 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.01532, allocations: 31 kB / 0.7703 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008266/0.01615, allocations: 452.9 kB / 0.7707 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.051e-05/0.01621, allocations: 88.31 kB / 0.7708 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.653e-05/0.01629, allocations: 28.69 kB / 0.7708 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.9e-05/0.01636, allocations: 76.36 kB / 0.7709 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of SimCode: time 8.12e-07/0.01637, allocations: 4 kB / 0.7709 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of Templates: time 0.00636/0.02273, allocations: 3.612 MB / 0.7744 GB, free: 7.789 MB / 0.7292 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.174113282933831]