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.0009811/0.0009811, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001431/0.001431, allocations: 169 kB / 24.28 MB, free: 276 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.9217/0.9217, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.892/1.892, allocations: 377.8 MB / 0.6239 GB, free: 8.574 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.533e-06/1.533e-06, allocations: 0 / 0.8115 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.831e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.002189/0.002208, allocations: 1.867 MB / 0.8133 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.003898, allocations: 1.766 MB / 0.815 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.74e-05/0.003985, allocations: 5.281 kB / 0.815 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.00415, allocations: 31.72 kB / 0.8151 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.004253, allocations: 25.33 kB / 0.8151 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006255/0.004879, allocations: 271 kB / 0.8154 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000242/0.005121, allocations: 251.5 kB / 0.8156 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.005236, allocations: 38.5 kB / 0.8156 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.005423, allocations: 139.6 kB / 0.8158 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.796e-05/0.005521, allocations: 76.3 kB / 0.8158 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.005544, allocations: 13.66 kB / 0.8159 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002796/0.005823, allocations: 223.6 kB / 0.8161 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.299e-05/0.005906, allocations: 83.7 kB / 0.8161 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.116e-05/0.005967, allocations: 63.81 kB / 0.8162 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.006331, allocations: 375.3 kB / 0.8166 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.006333, allocations: 0 / 0.8166 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.91e-07/0.006334, allocations: 1.219 kB / 0.8166 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.006338, allocations: 0 / 0.8166 GB, free: 12.93 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.000587/0.006925, allocations: 0.5822 MB / 0.8171 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.006957, allocations: 8.031 kB / 0.8171 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.007094, allocations: 50.16 kB / 0.8172 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.007326, allocations: 206.3 kB / 0.8174 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.007352, allocations: 16.36 kB / 0.8174 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.007388, allocations: 34.06 kB / 0.8174 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.007594, allocations: 158.1 kB / 0.8176 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.007603, allocations: 0 / 0.8176 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.007618, allocations: 8 kB / 0.8176 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.007627, allocations: 5.781 kB / 0.8176 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.447e-05/0.007721, allocations: 51.95 kB / 0.8176 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007571/0.008478, allocations: 0.5233 MB / 0.8182 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.00865, allocations: 125.3 kB / 0.8183 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.817e-05/0.008718, allocations: 51.66 kB / 0.8183 GB, free: 11 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.008737, allocations: 4 kB / 0.8183 GB, free: 11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.008879, allocations: 130.4 kB / 0.8185 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=27): time 1.603e-06/0.00888, allocations: 0 / 0.8185 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.0003758/0.009256, allocations: 282.4 kB / 0.8187 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.009301, allocations: 71.33 kB / 0.8188 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.009421, allocations: 225.8 kB / 0.819 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.00945, allocations: 45.69 kB / 0.8191 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/0.009519, allocations: 171.7 kB / 0.8192 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.019e-05/0.00958, allocations: 95.86 kB / 0.8193 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.869e-05/0.009658, allocations: 88.34 kB / 0.8194 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.009778, allocations: 0.5079 MB / 0.8199 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.463e-05/0.009853, allocations: 46.88 kB / 0.8199 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.01002, allocations: 276.3 kB / 0.8202 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.01026, allocations: 305.9 kB / 0.8205 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01026, allocations: 0.7812 kB / 0.8205 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003381/0.0106, allocations: 301.4 kB / 0.8208 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.01062, allocations: 11.94 kB / 0.8208 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.01062, allocations: 4 kB / 0.8208 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.01064, allocations: 8 kB / 0.8208 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.0108, allocations: 83.84 kB / 0.8209 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.01081, allocations: 10.08 kB / 0.8209 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.416e-05/0.01088, allocations: 35.72 kB / 0.8209 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.0109, allocations: 19.94 kB / 0.8209 GB, free: 8.09 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.0001123/0.01101, allocations: 201.2 kB / 0.8211 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.01104, allocations: 31.84 kB / 0.8212 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/0.01108, allocations: 22.59 kB / 0.8212 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01108, allocations: 5.031 kB / 0.8212 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.01109, allocations: 0 / 0.8212 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01109, allocations: 0 / 0.8212 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005566/0.01165, allocations: 0.5808 MB / 0.8218 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01165, allocations: 3.938 kB / 0.8218 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-05/0.01171, allocations: 15.98 kB / 0.8218 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01171, allocations: 4.812 kB / 0.8218 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.01173, allocations: 11.98 kB / 0.8218 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01174, allocations: 5.688 kB / 0.8218 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01174, allocations: 0 / 0.8218 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.01211, allocations: 449.3 kB / 0.8222 GB, free: 6.707 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.01213, allocations: 23.78 kB / 0.8222 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.01216, allocations: 12.67 kB / 0.8223 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.219e-05/0.01222, allocations: 17.33 kB / 0.8223 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.01227, allocations: 19.91 kB / 0.8223 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.01229, allocations: 19.98 kB / 0.8223 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.303e-05/0.01236, allocations: 153.9 kB / 0.8225 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01236, allocations: 4 kB / 0.8225 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003056/0.01266, allocations: 112.3 kB / 0.8226 GB, free: 6.355 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.0006301/0.01329, allocations: 367.8 kB / 0.8229 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002667/0.01356, allocations: 189.1 kB / 0.8231 GB, free: 5.887 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01356, allocations: 0 / 0.8231 GB, free: 5.887 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.891e-05/0.01365, allocations: 79.75 kB / 0.8232 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.01386, allocations: 27.92 kB / 0.8232 GB, free: 5.777 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007966/0.01466, allocations: 441.8 kB / 0.8236 GB, free: 5.32 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.328e-05/0.01471, allocations: 88.31 kB / 0.8237 GB, free: 5.215 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.01483, allocations: 54.39 kB / 0.8238 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/0.01488, allocations: 24.5 kB / 0.8238 GB, free: 5.137 MB / 0.7761 GB Notification: Performance of SimCode: time 8.81e-07/0.01488, allocations: 0 / 0.8238 GB, free: 5.137 MB / 0.7761 GB Notification: Performance of Templates: time 0.005248/0.02013, allocations: 3.315 MB / 0.827 GB, free: 1.871 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.30517061217688]