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.0009665/0.0009665, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009636/0.0009636, allocations: 173 kB / 23.03 MB, free: 1.547 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.9773/0.9773, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.068/2.068, allocations: 429.5 MB / 0.6733 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.964e-06/1.964e-06, allocations: 0 / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.89e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom): time 0.003785/0.003814, allocations: 1.874 MB / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001749/0.005563, allocations: 1.768 MB / 0.8817 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.476e-05/0.005647, allocations: 7.938 kB / 0.8817 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.005821, allocations: 36.38 kB / 0.8817 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.005922, allocations: 12.38 kB / 0.8818 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006138/0.006536, allocations: 268.5 kB / 0.882 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.006784, allocations: 259.4 kB / 0.8823 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.006898, allocations: 45.72 kB / 0.8823 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.00708, allocations: 136.3 kB / 0.8824 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.007182, allocations: 72.52 kB / 0.8825 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.007206, allocations: 12 kB / 0.8825 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.007488, allocations: 240.6 kB / 0.8827 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.775e-05/0.007576, allocations: 75.78 kB / 0.8828 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.175e-05/0.007638, allocations: 63.81 kB / 0.8829 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003507/0.007989, allocations: 363.4 kB / 0.8832 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.007991, allocations: 0 / 0.8832 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.32e-07/0.007992, allocations: 5.25 kB / 0.8832 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.007996, allocations: 0 / 0.8832 GB, free: 1.141 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.00059/0.008586, allocations: 0.5816 MB / 0.8838 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.008618, allocations: 9.062 kB / 0.8838 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.008753, allocations: 52.72 kB / 0.8839 GB, free: 476 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.008953, allocations: 199.2 kB / 0.884 GB, free: 248 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.008975, allocations: 16.38 kB / 0.8841 GB, free: 232 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.009009, allocations: 28.38 kB / 0.8841 GB, free: 204 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.00921, allocations: 144.2 kB / 0.8842 GB, free: 52 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.009219, allocations: 3.938 kB / 0.8842 GB, free: 48 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.009235, allocations: 11.98 kB / 0.8842 GB, free: 36 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.009243, allocations: 4 kB / 0.8842 GB, free: 32 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.009347, allocations: 66.95 kB / 0.8843 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.01042, allocations: 0.5069 MB / 0.8848 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.01059, allocations: 123.8 kB / 0.8849 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.583e-05/0.01066, allocations: 51.66 kB / 0.885 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.01067, allocations: 9 kB / 0.885 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.01081, allocations: 128.2 kB / 0.8851 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=27): time 1.764e-06/0.01081, allocations: 0.5 kB / 0.8851 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27): time 0.0003621/0.01117, allocations: 285.4 kB / 0.8854 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.01122, allocations: 71.33 kB / 0.8854 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.01133, allocations: 231.4 kB / 0.8857 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.01136, allocations: 49.69 kB / 0.8857 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.01143, allocations: 184.9 kB / 0.8859 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.777e-05/0.01149, allocations: 83.38 kB / 0.886 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.49e-05/0.01156, allocations: 91.84 kB / 0.886 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.01168, allocations: 0.5118 MB / 0.8865 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.041e-05/0.01175, allocations: 48.97 kB / 0.8866 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.01191, allocations: 235 kB / 0.8868 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.01215, allocations: 301.8 kB / 0.8871 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.01215, allocations: 4 kB / 0.8871 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000327/0.01248, allocations: 301.1 kB / 0.8874 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.01249, allocations: 4 kB / 0.8874 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.0125, allocations: 7.938 kB / 0.8874 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.01251, allocations: 11.94 kB / 0.8874 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.01267, allocations: 83.89 kB / 0.8875 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.01268, allocations: 11.94 kB / 0.8875 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.01275, allocations: 31.78 kB / 0.8875 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.01277, allocations: 24.33 kB / 0.8876 GB, free: 12.34 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.0001117/0.01288, allocations: 199.1 kB / 0.8878 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.01291, allocations: 27.89 kB / 0.8878 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.01294, allocations: 22.59 kB / 0.8878 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01295, allocations: 7.938 kB / 0.8878 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.01295, allocations: 0 / 0.8878 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01296, allocations: 3.984 kB / 0.8878 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005377/0.01349, allocations: 0.5797 MB / 0.8884 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.0135, allocations: 0 / 0.8884 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.281e-05/0.01356, allocations: 23.86 kB / 0.8884 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.01356, allocations: 4 kB / 0.8884 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.01358, allocations: 11.98 kB / 0.8884 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01358, allocations: 0 / 0.8884 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01358, allocations: 0 / 0.8884 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.01395, allocations: 440.7 kB / 0.8888 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.01397, allocations: 27.73 kB / 0.8889 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.01399, allocations: 15.98 kB / 0.8889 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.787e-05/0.01405, allocations: 15.98 kB / 0.8889 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.0141, allocations: 23.95 kB / 0.8889 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.01412, allocations: 11.94 kB / 0.8889 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.39e-05/0.01419, allocations: 159.1 kB / 0.8891 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01419, allocations: 0 / 0.8891 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003214/0.01451, allocations: 111.6 kB / 0.8892 GB, free: 10.6 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.0006318/0.01514, allocations: 364.3 kB / 0.8895 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002678/0.01541, allocations: 194 kB / 0.8897 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01541, allocations: 0 / 0.8897 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.14e-05/0.0155, allocations: 79.52 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.0002086/0.01571, allocations: 23.98 kB / 0.8898 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008085/0.01652, allocations: 439.9 kB / 0.8902 GB, free: 9.551 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.179e-05/0.01657, allocations: 88.31 kB / 0.8903 GB, free: 9.445 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.12e-05/0.01665, allocations: 42.25 kB / 0.8904 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.01669, allocations: 20.5 kB / 0.8904 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/0.01669, allocations: 0 / 0.8904 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of Templates: time 0.005791/0.02248, allocations: 3.576 MB / 0.8939 GB, free: 5.852 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.404051506891847]