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.0008949/0.0008949, allocations: 93.16 kB / 19.65 MB, free: 288 kB / 13.93 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.001101/0.001101, allocations: 168.9 kB / 23.02 MB, free: 1.559 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.9483/0.9483, allocations: 177.1 MB / 203.4 MB, free: 5.102 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.134/2.134, allocations: 429.4 MB / 0.6732 GB, free: 4.062 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.132e-06/1.132e-06, allocations: 0 / 0.8781 GB, free: 6.402 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.676e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.398 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom): time 0.002592/0.002609, allocations: 1.874 MB / 0.88 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.004405, allocations: 1.768 MB / 0.8817 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.322e-05/0.004488, allocations: 3.938 kB / 0.8817 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.004675, allocations: 35.7 kB / 0.8817 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.004779, allocations: 25.61 kB / 0.8817 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005668/0.005346, allocations: 263 kB / 0.882 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.005593, allocations: 262.1 kB / 0.8823 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.005721, allocations: 41.78 kB / 0.8823 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.005902, allocations: 131.7 kB / 0.8824 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.006003, allocations: 75.77 kB / 0.8825 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.006028, allocations: 12 kB / 0.8825 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000263/0.006291, allocations: 231.5 kB / 0.8827 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.222e-05/0.006373, allocations: 87.72 kB / 0.8828 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.798e-05/0.006431, allocations: 56.55 kB / 0.8829 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004995/0.006931, allocations: 374.7 kB / 0.8832 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.006933, allocations: 1.656 kB / 0.8832 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.62e-07/0.006934, allocations: 0 / 0.8832 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.006938, allocations: 0 / 0.8832 GB, free: 1.199 MB / 0.8386 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.0005944/0.007532, allocations: 0.5782 MB / 0.8838 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.007567, allocations: 12.03 kB / 0.8838 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.007704, allocations: 52.78 kB / 0.8838 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.007938, allocations: 210.1 kB / 0.884 GB, free: 296 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.007964, allocations: 20.38 kB / 0.8841 GB, free: 276 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/0.008009, allocations: 24.38 kB / 0.8841 GB, free: 252 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.008212, allocations: 158.4 kB / 0.8842 GB, free: 84 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.00822, allocations: 0 / 0.8842 GB, free: 84 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.008235, allocations: 7.984 kB / 0.8842 GB, free: 76 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.008245, allocations: 4 kB / 0.8842 GB, free: 72 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.159e-05/0.008336, allocations: 55.73 kB / 0.8843 GB, free: 16 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007647/0.009101, allocations: 0.5187 MB / 0.8848 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.009282, allocations: 119.8 kB / 0.8849 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.889e-05/0.009351, allocations: 51.66 kB / 0.885 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.009379, allocations: 4 kB / 0.885 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.009524, allocations: 132.2 kB / 0.8851 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=27): time 1.513e-06/0.009526, allocations: 0 / 0.8851 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27): time 0.0003731/0.009899, allocations: 283.9 kB / 0.8854 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.009943, allocations: 71.33 kB / 0.8854 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.01007, allocations: 231.4 kB / 0.8857 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.0101, allocations: 45.69 kB / 0.8857 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.01017, allocations: 183.7 kB / 0.8859 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/0.01022, allocations: 87.36 kB / 0.886 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.483e-05/0.0103, allocations: 83.86 kB / 0.886 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.01043, allocations: 0.5196 MB / 0.8866 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.047e-05/0.0105, allocations: 44.91 kB / 0.8866 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.01067, allocations: 276.4 kB / 0.8869 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.0109, allocations: 305.7 kB / 0.8871 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.0109, allocations: 4 kB / 0.8872 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003141/0.01122, allocations: 297.5 kB / 0.8874 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.01123, allocations: 16 kB / 0.8875 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.01124, allocations: 4 kB / 0.8875 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.01126, allocations: 4 kB / 0.8875 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.01143, allocations: 87.83 kB / 0.8875 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.01144, allocations: 11.94 kB / 0.8876 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.053e-05/0.01151, allocations: 31.91 kB / 0.8876 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.01153, allocations: 24 kB / 0.8876 GB, free: 12.33 MB / 0.8542 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.0001062/0.01163, allocations: 199.1 kB / 0.8878 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.01166, allocations: 31.89 kB / 0.8878 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.0117, allocations: 22.59 kB / 0.8878 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.0117, allocations: 0 / 0.8878 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.0117, allocations: 0 / 0.8878 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.01171, allocations: 7.984 kB / 0.8879 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005461/0.01226, allocations: 0.5796 MB / 0.8884 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.01226, allocations: 3.938 kB / 0.8884 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.127e-05/0.01233, allocations: 23.92 kB / 0.8884 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.01233, allocations: 4 kB / 0.8885 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.01236, allocations: 11.98 kB / 0.8885 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01236, allocations: 0 / 0.8885 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01236, allocations: 0 / 0.8885 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.01273, allocations: 440.7 kB / 0.8889 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.01275, allocations: 23.73 kB / 0.8889 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.01278, allocations: 19.98 kB / 0.8889 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.838e-05/0.01284, allocations: 7.984 kB / 0.8889 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.0129, allocations: 23.95 kB / 0.889 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.01292, allocations: 8 kB / 0.889 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.378e-05/0.01298, allocations: 163.1 kB / 0.8891 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01298, allocations: 3.938 kB / 0.8891 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002902/0.01327, allocations: 107.7 kB / 0.8892 GB, free: 10.59 MB / 0.8542 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.0006438/0.01391, allocations: 366 kB / 0.8896 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000252/0.01417, allocations: 186.5 kB / 0.8898 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01417, allocations: 0 / 0.8898 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.331e-05/0.01426, allocations: 83.64 kB / 0.8898 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.01448, allocations: 31.91 kB / 0.8899 GB, free: 9.996 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.01555, allocations: 427.5 kB / 0.8903 GB, free: 9.551 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.99e-05/0.01561, allocations: 88.31 kB / 0.8904 GB, free: 9.445 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001246/0.01573, allocations: 50.19 kB / 0.8904 GB, free: 9.395 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.01578, allocations: 24.5 kB / 0.8904 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of SimCode: time 1.794e-06/0.01579, allocations: 3.938 kB / 0.8904 GB, free: 9.367 MB / 0.8542 GB Notification: Performance of Templates: time 0.006267/0.02205, allocations: 3.313 MB / 0.8937 GB, free: 6.102 MB / 0.8542 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.62820522300899]