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.001/0.001, allocations: 80.88 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.0011/0.0011, allocations: 181 kB / 23.35 MB, free: 1.137 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.9526/0.9526, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.332/2.332, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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.433e-06/1.433e-06, allocations: 0 / 0.8385 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.774e-05, allocations: 8.359 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom): time 0.002799/0.002816, allocations: 1.85 MB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001978/0.004795, allocations: 1.792 MB / 0.8421 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.849e-05/0.004883, allocations: 0 / 0.8421 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.005077, allocations: 35.59 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.005184, allocations: 19.8 kB / 0.8422 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006241/0.005808, allocations: 267.1 kB / 0.8424 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.006053, allocations: 255.4 kB / 0.8427 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.00616, allocations: 54.36 kB / 0.8427 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.006348, allocations: 127.7 kB / 0.8428 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.006456, allocations: 67.84 kB / 0.8429 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.006476, allocations: 12 kB / 0.8429 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.006741, allocations: 235.5 kB / 0.8431 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.015e-05/0.006821, allocations: 75.78 kB / 0.8432 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.735e-05/0.006878, allocations: 67.81 kB / 0.8433 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.007218, allocations: 366.7 kB / 0.8436 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.007222, allocations: 4 kB / 0.8436 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.172e-06/0.007223, allocations: 0 / 0.8436 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.007227, allocations: 0 / 0.8436 GB, free: 9.004 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.0005405/0.007768, allocations: 469.8 kB / 0.8441 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.007801, allocations: 8.031 kB / 0.8441 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.007928, allocations: 40.89 kB / 0.8441 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.008117, allocations: 186.1 kB / 0.8443 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.008139, allocations: 24.36 kB / 0.8443 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.008172, allocations: 20.38 kB / 0.8443 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.008341, allocations: 146.6 kB / 0.8445 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.00835, allocations: 7.922 kB / 0.8445 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.008364, allocations: 4 kB / 0.8445 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.00837, allocations: 7.938 kB / 0.8445 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.821e-05/0.008428, allocations: 47.69 kB / 0.8445 GB, free: 8 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005979/0.009026, allocations: 385 kB / 0.8449 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.00917, allocations: 145.2 kB / 0.8451 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.287e-05/0.009213, allocations: 36.84 kB / 0.8451 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.009233, allocations: 11.92 kB / 0.8451 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.009354, allocations: 122.5 kB / 0.8452 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=27): time 2.385e-06/0.009356, allocations: 0 / 0.8452 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27): time 0.0002165/0.009572, allocations: 152.2 kB / 0.8454 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.00963, allocations: 79.27 kB / 0.8454 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.297e-05/0.009723, allocations: 166.6 kB / 0.8456 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.009751, allocations: 45.69 kB / 0.8456 GB, free: 6.805 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.009799, allocations: 124.9 kB / 0.8458 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.054e-05/0.00985, allocations: 79.34 kB / 0.8458 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-05/0.009914, allocations: 78.14 kB / 0.8459 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.478e-05/0.01001, allocations: 342.8 kB / 0.8462 GB, free: 6.176 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.445e-05/0.01005, allocations: 28.98 kB / 0.8463 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.01016, allocations: 173.2 kB / 0.8464 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.01035, allocations: 238.8 kB / 0.8467 GB, free: 5.625 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01036, allocations: 0 / 0.8467 GB, free: 5.625 MB / 0.8073 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002184/0.01057, allocations: 225.2 kB / 0.8469 GB, free: 5.398 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.01059, allocations: 8.469 kB / 0.8469 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.0106, allocations: 4 kB / 0.8469 GB, free: 5.387 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.01061, allocations: 16 kB / 0.8469 GB, free: 5.371 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.01077, allocations: 79.84 kB / 0.847 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.01077, allocations: 11.94 kB / 0.847 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.127e-05/0.01084, allocations: 35.77 kB / 0.847 GB, free: 5.246 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.01086, allocations: 12 kB / 0.847 GB, free: 5.234 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.0001145/0.01097, allocations: 167.1 kB / 0.8472 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.011, allocations: 19.98 kB / 0.8472 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.01103, allocations: 22.64 kB / 0.8472 GB, free: 5.016 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.01103, allocations: 0 / 0.8472 GB, free: 5.016 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.01103, allocations: 3.938 kB / 0.8472 GB, free: 5.012 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01104, allocations: 4 kB / 0.8472 GB, free: 5.008 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.01145, allocations: 399.6 kB / 0.8476 GB, free: 4.594 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01145, allocations: 0 / 0.8476 GB, free: 4.594 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.156e-05/0.01151, allocations: 23.92 kB / 0.8476 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01152, allocations: 0 / 0.8476 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.01153, allocations: 11.98 kB / 0.8477 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.01153, allocations: 3.938 kB / 0.8477 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01154, allocations: 3.984 kB / 0.8477 GB, free: 4.551 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.01178, allocations: 331 kB / 0.848 GB, free: 4.211 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.336e-05/0.01179, allocations: 11.91 kB / 0.848 GB, free: 4.199 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.01182, allocations: 15.98 kB / 0.848 GB, free: 4.184 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.696e-05/0.01188, allocations: 19.86 kB / 0.848 GB, free: 4.164 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.01192, allocations: 19.97 kB / 0.848 GB, free: 4.145 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.01194, allocations: 7.984 kB / 0.8481 GB, free: 4.137 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.316e-05/0.01197, allocations: 43.3 kB / 0.8481 GB, free: 4.094 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01197, allocations: 7.938 kB / 0.8481 GB, free: 4.086 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002776/0.01225, allocations: 111.6 kB / 0.8482 GB, free: 3.977 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.0007364/0.01299, allocations: 394.3 kB / 0.8486 GB, free: 3.688 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001849/0.01317, allocations: 161.7 kB / 0.8487 GB, free: 3.527 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.01317, allocations: 0.9375 kB / 0.8487 GB, free: 3.527 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.37e-05/0.01324, allocations: 56.77 kB / 0.8488 GB, free: 3.469 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.0134, allocations: 35.97 kB / 0.8488 GB, free: 3.434 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007239/0.01413, allocations: 443.4 kB / 0.8492 GB, free: 2.973 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.937e-05/0.01418, allocations: 88.31 kB / 0.8493 GB, free: 2.867 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.528e-05/0.01424, allocations: 34.22 kB / 0.8494 GB, free: 2.836 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/0.01431, allocations: 79.36 kB / 0.8494 GB, free: 2.758 MB / 0.8073 GB Notification: Performance of SimCode: time 1.062e-06/0.01431, allocations: 0 / 0.8494 GB, free: 2.758 MB / 0.8073 GB Notification: Performance of Templates: time 0.005062/0.01937, allocations: 3.618 MB / 0.853 GB, free: 15.18 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 -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.315584725700319]