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.0009639/0.0009639, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009995/0.0009995, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9451/0.9451, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.124/2.124, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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.753e-06/1.753e-06, allocations: 0 / 0.8794 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.816e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom): time 0.002156/0.002174, allocations: 1.856 MB / 0.8812 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.003863, allocations: 1.767 MB / 0.8829 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.199e-05/0.003945, allocations: 8.438 kB / 0.8829 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.004107, allocations: 31.72 kB / 0.8829 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.838e-05/0.004195, allocations: 21.08 kB / 0.883 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005624/0.004757, allocations: 271.7 kB / 0.8832 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.004983, allocations: 249.1 kB / 0.8835 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.005088, allocations: 45.77 kB / 0.8835 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.005258, allocations: 139.6 kB / 0.8836 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.434e-05/0.005352, allocations: 67.78 kB / 0.8837 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.005371, allocations: 13.91 kB / 0.8837 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000262/0.005633, allocations: 231.6 kB / 0.8839 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.227e-05/0.005705, allocations: 79.72 kB / 0.884 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.296e-05/0.005758, allocations: 67.81 kB / 0.8841 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.006096, allocations: 362.7 kB / 0.8844 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.006098, allocations: 2.625 kB / 0.8844 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.41e-07/0.006098, allocations: 4 kB / 0.8844 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.006102, allocations: 0 / 0.8844 GB, free: 0.8867 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.0005427/0.006645, allocations: 0.5768 MB / 0.885 GB, free: 280 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.006675, allocations: 8.031 kB / 0.885 GB, free: 272 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.006803, allocations: 49.5 kB / 0.885 GB, free: 224 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.007015, allocations: 199.9 kB / 0.8852 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.007038, allocations: 16.38 kB / 0.8852 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.007076, allocations: 24.38 kB / 0.8853 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.007242, allocations: 146.7 kB / 0.8854 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.007254, allocations: 7.938 kB / 0.8854 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.007267, allocations: 7.984 kB / 0.8854 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.007273, allocations: 4 kB / 0.8854 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.259e-05/0.007336, allocations: 47.52 kB / 0.8855 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/0.007956, allocations: 491.8 kB / 0.8859 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.008096, allocations: 119 kB / 0.8861 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.72e-05/0.008143, allocations: 43.66 kB / 0.8861 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.008157, allocations: 8 kB / 0.8861 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.008267, allocations: 115.2 kB / 0.8862 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.008269, allocations: 0 / 0.8862 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27): time 0.0002935/0.008562, allocations: 267.9 kB / 0.8865 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.008606, allocations: 67.39 kB / 0.8865 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.008707, allocations: 231.3 kB / 0.8868 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.008735, allocations: 45.69 kB / 0.8868 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.008799, allocations: 183.7 kB / 0.887 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/0.008856, allocations: 91.34 kB / 0.8871 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.357e-05/0.008929, allocations: 91.81 kB / 0.8871 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.009055, allocations: 0.5156 MB / 0.8877 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.608e-05/0.009101, allocations: 40.89 kB / 0.8877 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.009223, allocations: 227 kB / 0.8879 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.009418, allocations: 289.8 kB / 0.8882 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.00942, allocations: 0 / 0.8882 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002549/0.009675, allocations: 277 kB / 0.8884 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.009686, allocations: 10.34 kB / 0.8885 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.009693, allocations: 4 kB / 0.8885 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.009705, allocations: 11.94 kB / 0.8885 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.009852, allocations: 83.84 kB / 0.8886 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.009859, allocations: 12.39 kB / 0.8886 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.192e-05/0.009931, allocations: 39.78 kB / 0.8886 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.009943, allocations: 12 kB / 0.8886 GB, free: 12.24 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.0001148/0.01006, allocations: 199.1 kB / 0.8888 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.01009, allocations: 27.91 kB / 0.8888 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.01012, allocations: 18.64 kB / 0.8888 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.01012, allocations: 11.94 kB / 0.8889 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01012, allocations: 3.984 kB / 0.8889 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01013, allocations: 0 / 0.8889 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.01061, allocations: 0.5411 MB / 0.8894 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01061, allocations: 0 / 0.8894 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.773e-05/0.01067, allocations: 20 kB / 0.8894 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01067, allocations: 0 / 0.8894 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.01068, allocations: 11.92 kB / 0.8894 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01069, allocations: 192 / 0.8894 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01069, allocations: 4 kB / 0.8894 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.01101, allocations: 429.3 kB / 0.8898 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.01102, allocations: 31.78 kB / 0.8899 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.01105, allocations: 19.92 kB / 0.8899 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.62e-05/0.01111, allocations: 8 kB / 0.8899 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.01115, allocations: 23.95 kB / 0.8899 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.01116, allocations: 11.98 kB / 0.8899 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.815e-05/0.01121, allocations: 151.1 kB / 0.8901 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01121, allocations: 0 / 0.8901 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002899/0.0115, allocations: 111.6 kB / 0.8902 GB, free: 10.57 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.0005622/0.01207, allocations: 353.3 kB / 0.8905 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.01227, allocations: 181 kB / 0.8907 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.01227, allocations: 3.938 kB / 0.8907 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.845e-05/0.01234, allocations: 67.52 kB / 0.8908 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.0001968/0.01254, allocations: 31.95 kB / 0.8908 GB, free: 9.996 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006785/0.01322, allocations: 440.3 kB / 0.8912 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.186e-05/0.01327, allocations: 84.33 kB / 0.8913 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.497e-05/0.01333, allocations: 30.27 kB / 0.8913 GB, free: 9.406 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/0.01341, allocations: 98.14 kB / 0.8914 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.01341, allocations: 4 kB / 0.8914 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of Templates: time 0.005295/0.0187, allocations: 3.69 MB / 0.895 GB, free: 5.656 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.527871618978679]