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.001048/0.001048, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001181/0.001181, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.9779/0.9779, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.965/1.965, allocations: 377.9 MB / 0.6247 GB, free: 8.395 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.523e-06/1.523e-06, allocations: 0 / 0.8127 GB, free: 320 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.064e-05, allocations: 3.969 kB / 0.8127 GB, free: 316 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.004069/0.0041, allocations: 1.859 MB / 0.8146 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002873/0.006973, allocations: 1.759 MB / 0.8163 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.007097, allocations: 4.594 kB / 0.8163 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.007306, allocations: 35.66 kB / 0.8163 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.007435, allocations: 17.38 kB / 0.8163 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009035/0.008338, allocations: 271 kB / 0.8166 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004013/0.008739, allocations: 257 kB / 0.8168 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.0089, allocations: 41.77 kB / 0.8169 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.009213, allocations: 135.6 kB / 0.817 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.009398, allocations: 77.02 kB / 0.8171 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.531e-05/0.009433, allocations: 12 kB / 0.8171 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004621/0.009896, allocations: 231.5 kB / 0.8173 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.01001, allocations: 79.78 kB / 0.8174 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.18e-05/0.01009, allocations: 64.69 kB / 0.8174 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005482/0.01064, allocations: 358.8 kB / 0.8178 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.01064, allocations: 1.094 kB / 0.8178 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.363e-06/0.01064, allocations: 0 / 0.8178 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.01065, allocations: 0 / 0.8178 GB, free: 11.14 MB / 0.7292 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.0007904/0.01144, allocations: 0.5905 MB / 0.8184 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001528/0.01159, allocations: 12.03 kB / 0.8184 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.01179, allocations: 49.36 kB / 0.8184 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.01206, allocations: 186.3 kB / 0.8186 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.01209, allocations: 12.38 kB / 0.8186 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.01214, allocations: 28.38 kB / 0.8186 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.01238, allocations: 146.3 kB / 0.8188 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.01239, allocations: 5.688 kB / 0.8188 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.01242, allocations: 11.98 kB / 0.8188 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.01242, allocations: 4 kB / 0.8188 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.01252, allocations: 43.95 kB / 0.8188 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009697/0.01349, allocations: 485.6 kB / 0.8193 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.0137, allocations: 123.5 kB / 0.8194 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.262e-05/0.01379, allocations: 44.88 kB / 0.8195 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.01381, allocations: 4 kB / 0.8195 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.01399, allocations: 130.1 kB / 0.8196 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=27): time 2.335e-06/0.014, allocations: 0 / 0.8196 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27): time 0.0004619/0.01446, allocations: 262.5 kB / 0.8198 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.01451, allocations: 73.45 kB / 0.8199 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.01467, allocations: 225.8 kB / 0.8201 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.827e-05/0.01472, allocations: 49.69 kB / 0.8202 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.144e-05/0.01481, allocations: 175.7 kB / 0.8203 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.375e-05/0.01491, allocations: 91.33 kB / 0.8204 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.01502, allocations: 91.75 kB / 0.8205 GB, free: 8.176 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.01519, allocations: 0.5123 MB / 0.821 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.499e-05/0.01527, allocations: 41.67 kB / 0.8211 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.01546, allocations: 219 kB / 0.8213 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.01577, allocations: 298.9 kB / 0.8215 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.01577, allocations: 0.9688 kB / 0.8216 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005688/0.01634, allocations: 283.3 kB / 0.8218 GB, free: 6.672 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.01636, allocations: 7.438 kB / 0.8218 GB, free: 6.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.01637, allocations: 4 kB / 0.8218 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.01639, allocations: 11.94 kB / 0.8218 GB, free: 6.652 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.01664, allocations: 79.84 kB / 0.8219 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.01665, allocations: 11.98 kB / 0.8219 GB, free: 6.562 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.01681, allocations: 31.78 kB / 0.822 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-05/0.01687, allocations: 16 kB / 0.822 GB, free: 6.516 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.000166/0.01703, allocations: 205.4 kB / 0.8222 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.01709, allocations: 31.84 kB / 0.8222 GB, free: 6.273 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.741e-05/0.01712, allocations: 23.25 kB / 0.8222 GB, free: 6.246 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.01713, allocations: 3.938 kB / 0.8222 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.01713, allocations: 0.5 kB / 0.8222 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01713, allocations: 5.562 kB / 0.8222 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006034/0.01774, allocations: 0.5306 MB / 0.8228 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01774, allocations: 0 / 0.8228 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.202e-05/0.01782, allocations: 16 kB / 0.8228 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01782, allocations: 0.9062 kB / 0.8228 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.01785, allocations: 15.92 kB / 0.8228 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01785, allocations: 0 / 0.8228 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01785, allocations: 1.094 kB / 0.8228 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.01818, allocations: 430.5 kB / 0.8232 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.819e-05/0.0182, allocations: 20.58 kB / 0.8232 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.01823, allocations: 27.92 kB / 0.8232 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.721e-05/0.0183, allocations: 4.656 kB / 0.8232 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.01834, allocations: 29.08 kB / 0.8233 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.01836, allocations: 11.98 kB / 0.8233 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.165e-05/0.01842, allocations: 153.6 kB / 0.8234 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01842, allocations: 3.969 kB / 0.8234 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003371/0.01876, allocations: 111.6 kB / 0.8235 GB, free: 4.855 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.0006155/0.01938, allocations: 377.6 kB / 0.8239 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.01959, allocations: 168.9 kB / 0.8241 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.0196, allocations: 0 / 0.8241 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.578e-05/0.01967, allocations: 72.88 kB / 0.8241 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.01988, allocations: 25.62 kB / 0.8242 GB, free: 4.297 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007101/0.02059, allocations: 436.6 kB / 0.8246 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.918e-05/0.02064, allocations: 84.33 kB / 0.8247 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.647e-05/0.02071, allocations: 34.27 kB / 0.8247 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.298e-05/0.02078, allocations: 98.2 kB / 0.8248 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of SimCode: time 7.32e-07/0.02078, allocations: 0 / 0.8248 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of Templates: time 0.005147/0.02593, allocations: 3.689 MB / 0.8284 GB, free: 15.98 MB / 0.7448 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.275973855052143]