Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_12.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.001295/0.001295, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001062/0.001062, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.015/1.015, allocations: 177.1 MB / 203.8 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.452/2.452, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_12.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3361,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3361,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/2.984e-05, allocations: 5.266 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom): time 0.004047/0.004077, allocations: 1.912 MB / 0.8405 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002862/0.006939, allocations: 1.792 MB / 0.8422 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.007046, allocations: 7.938 kB / 0.8422 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.007255, allocations: 35.7 kB / 0.8423 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.007384, allocations: 15.75 kB / 0.8423 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008293/0.008213, allocations: 255 kB / 0.8425 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.008561, allocations: 263.4 kB / 0.8428 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.008702, allocations: 38.44 kB / 0.8428 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.008995, allocations: 127.7 kB / 0.8429 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.009149, allocations: 75.77 kB / 0.843 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.009187, allocations: 12 kB / 0.843 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004657/0.009653, allocations: 247.5 kB / 0.8432 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.00976, allocations: 79.78 kB / 0.8433 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.667e-05/0.009836, allocations: 55.83 kB / 0.8434 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005239/0.01036, allocations: 370.8 kB / 0.8437 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.01036, allocations: 4 kB / 0.8437 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.31e-07/0.01036, allocations: 0 / 0.8437 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.01037, allocations: 3.938 kB / 0.8437 GB, free: 8.953 MB / 0.8073 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.0007808/0.01115, allocations: 469.8 kB / 0.8442 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.01119, allocations: 12.02 kB / 0.8442 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.01137, allocations: 40.91 kB / 0.8442 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.01164, allocations: 178.1 kB / 0.8444 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.01166, allocations: 16.38 kB / 0.8444 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/0.01171, allocations: 36.34 kB / 0.8444 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.01197, allocations: 142.6 kB / 0.8446 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.01198, allocations: 3.938 kB / 0.8446 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.012, allocations: 8 kB / 0.8446 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.01201, allocations: 4 kB / 0.8446 GB, free: 8 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.01212, allocations: 43.75 kB / 0.8446 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000872/0.01299, allocations: 373.3 kB / 0.845 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.01319, allocations: 145.2 kB / 0.8451 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.615e-05/0.01325, allocations: 40.83 kB / 0.8452 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.01327, allocations: 4 kB / 0.8452 GB, free: 7.375 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.01343, allocations: 123.1 kB / 0.8453 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=27): time 2.304e-06/0.01343, allocations: 0 / 0.8453 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27): time 0.0002832/0.01371, allocations: 170.2 kB / 0.8455 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.01377, allocations: 71.27 kB / 0.8455 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.01389, allocations: 162.6 kB / 0.8457 GB, free: 6.824 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.01393, allocations: 49.69 kB / 0.8457 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.01399, allocations: 124.9 kB / 0.8458 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.831e-05/0.01407, allocations: 87.33 kB / 0.8459 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.895e-05/0.01417, allocations: 70.16 kB / 0.846 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.01428, allocations: 338.8 kB / 0.8463 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.12e-05/0.01435, allocations: 32.98 kB / 0.8464 GB, free: 6.109 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.01451, allocations: 161.3 kB / 0.8465 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.01478, allocations: 246.8 kB / 0.8467 GB, free: 5.594 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.01478, allocations: 4 kB / 0.8467 GB, free: 5.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003261/0.01511, allocations: 221.1 kB / 0.847 GB, free: 5.367 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.01512, allocations: 11.98 kB / 0.847 GB, free: 5.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/0.01513, allocations: 4 kB / 0.847 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.01515, allocations: 4.469 kB / 0.847 GB, free: 5.348 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.0154, allocations: 99.72 kB / 0.8471 GB, free: 5.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.01541, allocations: 11.94 kB / 0.8471 GB, free: 5.238 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.01554, allocations: 35.77 kB / 0.8471 GB, free: 5.203 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.01556, allocations: 16 kB / 0.8471 GB, free: 5.188 MB / 0.8073 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.000141/0.0157, allocations: 159.1 kB / 0.8473 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.01574, allocations: 23.98 kB / 0.8473 GB, free: 4.996 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.892e-05/0.01577, allocations: 18.64 kB / 0.8473 GB, free: 4.977 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.01578, allocations: 4 kB / 0.8473 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.01578, allocations: 3.938 kB / 0.8473 GB, free: 4.969 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.01579, allocations: 0 / 0.8473 GB, free: 4.969 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005442/0.01633, allocations: 395.7 kB / 0.8477 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01633, allocations: 0 / 0.8477 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.244e-05/0.01643, allocations: 27.92 kB / 0.8477 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.01643, allocations: 0 / 0.8477 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.01645, allocations: 7.984 kB / 0.8477 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.01645, allocations: 7.938 kB / 0.8478 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01645, allocations: 4 kB / 0.8478 GB, free: 4.512 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.01677, allocations: 327.9 kB / 0.8481 GB, free: 4.176 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.01679, allocations: 15.84 kB / 0.8481 GB, free: 4.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.01683, allocations: 19.98 kB / 0.8481 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.442e-05/0.01691, allocations: 15.92 kB / 0.8481 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.01696, allocations: 19.97 kB / 0.8481 GB, free: 4.105 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.01697, allocations: 7.984 kB / 0.8481 GB, free: 4.098 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.274e-05/0.01701, allocations: 43.31 kB / 0.8482 GB, free: 4.055 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01701, allocations: 0 / 0.8482 GB, free: 4.055 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002666/0.01727, allocations: 115.6 kB / 0.8483 GB, free: 3.941 MB / 0.8073 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.0007289/0.018, allocations: 389.3 kB / 0.8487 GB, free: 3.652 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.01819, allocations: 161.4 kB / 0.8488 GB, free: 3.492 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.01819, allocations: 0 / 0.8488 GB, free: 3.492 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.948e-05/0.01826, allocations: 60.75 kB / 0.8489 GB, free: 3.43 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.01843, allocations: 34.78 kB / 0.8489 GB, free: 3.398 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007095/0.01914, allocations: 443.2 kB / 0.8493 GB, free: 2.938 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.983e-05/0.01919, allocations: 88.31 kB / 0.8494 GB, free: 2.832 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.613e-05/0.01926, allocations: 34.22 kB / 0.8495 GB, free: 2.801 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.13e-05/0.01933, allocations: 83.3 kB / 0.8495 GB, free: 2.719 MB / 0.8073 GB Notification: Performance of SimCode: time 8.12e-07/0.01933, allocations: 0 / 0.8495 GB, free: 2.719 MB / 0.8073 GB Notification: Performance of Templates: time 0.005182/0.02451, allocations: 3.612 MB / 0.8531 GB, free: 15.15 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_12_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.431711350101978]