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.00146/0.00146, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001049/0.001049, allocations: 177 kB / 23.49 MB, free: 1.051 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.9543/0.9543, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.121/2.121, allocations: 429.5 MB / 0.6736 GB, free: 4.039 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.793e-06/1.793e-06, allocations: 0 / 0.8782 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.206e-05/3.385e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom): time 0.003546/0.00358, allocations: 1.872 MB / 0.88 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002789/0.006369, allocations: 1.765 MB / 0.8817 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.006478, allocations: 4.844 kB / 0.8817 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.00669, allocations: 31.72 kB / 0.8818 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.006829, allocations: 24.84 kB / 0.8818 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008437/0.007672, allocations: 260.2 kB / 0.882 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003495/0.008022, allocations: 255.5 kB / 0.8823 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.008177, allocations: 45.77 kB / 0.8823 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.00845, allocations: 136.7 kB / 0.8824 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.008604, allocations: 71.78 kB / 0.8825 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.008641, allocations: 17 kB / 0.8825 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004496/0.009091, allocations: 227.6 kB / 0.8827 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.009213, allocations: 79.78 kB / 0.8828 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.006e-05/0.009303, allocations: 64.34 kB / 0.8829 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005487/0.009851, allocations: 375.3 kB / 0.8832 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.009856, allocations: 0 / 0.8832 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.583e-06/0.009857, allocations: 7.438 kB / 0.8833 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.009864, allocations: 0 / 0.8833 GB, free: 1.465 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.001139/0.011, allocations: 0.5807 MB / 0.8838 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.01105, allocations: 8.031 kB / 0.8838 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.01127, allocations: 48.78 kB / 0.8839 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.01162, allocations: 202.3 kB / 0.8841 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/0.01166, allocations: 16.97 kB / 0.8841 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-05/0.01171, allocations: 25.41 kB / 0.8841 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.01204, allocations: 158.4 kB / 0.8843 GB, free: 372 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.01205, allocations: 0 / 0.8843 GB, free: 372 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.01208, allocations: 12.61 kB / 0.8843 GB, free: 360 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.01209, allocations: 4 kB / 0.8843 GB, free: 356 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.01225, allocations: 57.2 kB / 0.8843 GB, free: 300 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.01345, allocations: 0.5157 MB / 0.8848 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.01371, allocations: 123.8 kB / 0.8849 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.01382, allocations: 51.66 kB / 0.885 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.01385, allocations: 8 kB / 0.885 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.01407, allocations: 127 kB / 0.8851 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=27): time 1.994e-06/0.01407, allocations: 0 / 0.8851 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27): time 0.0005792/0.01465, allocations: 283.9 kB / 0.8854 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.01471, allocations: 71.39 kB / 0.8855 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.01489, allocations: 231.3 kB / 0.8857 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.819e-05/0.01494, allocations: 49.69 kB / 0.8857 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.862e-05/0.01504, allocations: 179.7 kB / 0.8859 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.898e-05/0.01513, allocations: 87.36 kB / 0.886 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.01525, allocations: 95.84 kB / 0.8861 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.01542, allocations: 0.5118 MB / 0.8866 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.01555, allocations: 44.97 kB / 0.8866 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.01581, allocations: 276.3 kB / 0.8869 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.01616, allocations: 301.8 kB / 0.8872 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.01617, allocations: 0 / 0.8872 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005252/0.01669, allocations: 304.9 kB / 0.8875 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.01671, allocations: 11.94 kB / 0.8875 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.01672, allocations: 4 kB / 0.8875 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.01675, allocations: 8 kB / 0.8875 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.01701, allocations: 83.83 kB / 0.8876 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.01703, allocations: 8 kB / 0.8876 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.01717, allocations: 32.25 kB / 0.8876 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.01719, allocations: 20 kB / 0.8876 GB, free: 12.61 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.0001739/0.01737, allocations: 203 kB / 0.8878 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.01742, allocations: 31.89 kB / 0.8878 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.01747, allocations: 22.59 kB / 0.8879 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.01748, allocations: 4 kB / 0.8879 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.01749, allocations: 7.984 kB / 0.8879 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.01749, allocations: 0 / 0.8879 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000871/0.01836, allocations: 0.5757 MB / 0.8884 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.01837, allocations: 3.938 kB / 0.8884 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.01849, allocations: 19.98 kB / 0.8885 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.01849, allocations: 0 / 0.8885 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.01853, allocations: 11.98 kB / 0.8885 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.01853, allocations: 0 / 0.8885 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01853, allocations: 4 kB / 0.8885 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006032/0.01913, allocations: 441.3 kB / 0.8889 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.01916, allocations: 23.92 kB / 0.8889 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/0.01921, allocations: 27.98 kB / 0.889 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.01933, allocations: 7.984 kB / 0.889 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.01941, allocations: 23.95 kB / 0.889 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.01944, allocations: 15.98 kB / 0.889 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.345e-05/0.01953, allocations: 151.2 kB / 0.8891 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.01953, allocations: 0 / 0.8891 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005197/0.02005, allocations: 111.6 kB / 0.8892 GB, free: 10.88 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.0009459/0.021, allocations: 361.3 kB / 0.8896 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004026/0.0214, allocations: 188.3 kB / 0.8898 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.0214, allocations: 0 / 0.8898 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.02156, allocations: 84.22 kB / 0.8899 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.0219, allocations: 31.84 kB / 0.8899 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.02336, allocations: 442.1 kB / 0.8903 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.004e-05/0.02343, allocations: 88.31 kB / 0.8904 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001252/0.02355, allocations: 42.25 kB / 0.8904 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.035e-05/0.02361, allocations: 28.48 kB / 0.8905 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of SimCode: time 9.42e-07/0.02361, allocations: 0 / 0.8905 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of Templates: time 0.005611/0.02923, allocations: 3.312 MB / 0.8937 GB, free: 6.375 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.529820984927937]