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.00173/0.00173, allocations: 88.72 kB / 19.44 MB, free: 356 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.00232/0.00232, allocations: 161.7 kB / 22.76 MB, free: 1.68 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 1.481/1.481, allocations: 177.1 MB / 203.1 MB, free: 5.25 MB / 186.7 MB " [Timeout remaining time 178] 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 3.237/3.237, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] 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.2.",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.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.8775 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.443e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom): time 0.003382/0.003406, allocations: 1.83 MB / 0.8793 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002893/0.006299, allocations: 1.724 MB / 0.881 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.771e-05/0.006377, allocations: 9.062 kB / 0.881 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.006565, allocations: 27.78 kB / 0.8811 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.006672, allocations: 21.61 kB / 0.8811 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007938/0.007466, allocations: 263 kB / 0.8813 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003714/0.007838, allocations: 259.5 kB / 0.8816 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.007966, allocations: 40.47 kB / 0.8816 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.008239, allocations: 131.7 kB / 0.8817 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.008392, allocations: 71.78 kB / 0.8818 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.008428, allocations: 16 kB / 0.8818 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004479/0.008876, allocations: 235.5 kB / 0.882 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.009005, allocations: 87.7 kB / 0.8821 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.009108, allocations: 63.81 kB / 0.8822 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006418/0.009749, allocations: 423.4 kB / 0.8826 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.009752, allocations: 0 / 0.8826 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.22e-07/0.009753, allocations: 1.656 kB / 0.8826 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.00976, allocations: 4 kB / 0.8826 GB, free: 1.367 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.000941/0.0107, allocations: 489.3 kB / 0.8831 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.01073, allocations: 13.38 kB / 0.8831 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002186/0.01095, allocations: 48.78 kB / 0.8831 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.01138, allocations: 212.9 kB / 0.8833 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.01142, allocations: 16.38 kB / 0.8833 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.898e-05/0.01148, allocations: 24.38 kB / 0.8834 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004339/0.01191, allocations: 217.5 kB / 0.8836 GB, free: 316 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.01192, allocations: 4 kB / 0.8836 GB, free: 312 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.01195, allocations: 8 kB / 0.8836 GB, free: 304 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.01196, allocations: 4 kB / 0.8836 GB, free: 300 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.01224, allocations: 115.7 kB / 0.8837 GB, free: 184 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.01357, allocations: 484 kB / 0.8842 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005176/0.01408, allocations: 194.5 kB / 0.8844 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.01429, allocations: 89.91 kB / 0.8844 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.01431, allocations: 4 kB / 0.8844 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003296/0.01464, allocations: 169.3 kB / 0.8846 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=27): time 1.713e-06/0.01465, allocations: 0 / 0.8846 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27): time 0.0008661/0.01551, allocations: 403.9 kB / 0.885 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.01558, allocations: 67.41 kB / 0.8851 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.01578, allocations: 172.5 kB / 0.8852 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.267e-05/0.01584, allocations: 57.69 kB / 0.8853 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.01596, allocations: 125 kB / 0.8854 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.694e-05/0.01605, allocations: 91.3 kB / 0.8855 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.01619, allocations: 78.2 kB / 0.8856 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.01639, allocations: 338.8 kB / 0.8859 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.01662, allocations: 120.8 kB / 0.886 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.01701, allocations: 275.8 kB / 0.8863 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006039/0.01762, allocations: 376 kB / 0.8866 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.01762, allocations: 0 / 0.8866 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007974/0.01842, allocations: 432.9 kB / 0.887 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.01844, allocations: 12.41 kB / 0.887 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.01845, allocations: 8 kB / 0.887 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.01848, allocations: 8 kB / 0.8871 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.01871, allocations: 63.84 kB / 0.8871 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.01872, allocations: 8 kB / 0.8871 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.01889, allocations: 39.72 kB / 0.8872 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.01892, allocations: 16 kB / 0.8872 GB, free: 12.39 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.0002314/0.01915, allocations: 184.2 kB / 0.8873 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.179e-05/0.01921, allocations: 27.91 kB / 0.8874 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.454e-05/0.01926, allocations: 26.58 kB / 0.8874 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.01927, allocations: 4 kB / 0.8874 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01927, allocations: 192 / 0.8874 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.01928, allocations: 0 / 0.8874 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.02043, allocations: 0.6116 MB / 0.888 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.02043, allocations: 7.938 kB / 0.888 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.02055, allocations: 15.98 kB / 0.888 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.02055, allocations: 4 kB / 0.888 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.02058, allocations: 15.98 kB / 0.888 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.02058, allocations: 0 / 0.888 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/0.02059, allocations: 3.938 kB / 0.888 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009032/0.02149, allocations: 0.5164 MB / 0.8886 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.02152, allocations: 27.83 kB / 0.8886 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.02157, allocations: 20.02 kB / 0.8886 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.0217, allocations: 11.98 kB / 0.8886 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/0.02178, allocations: 23.95 kB / 0.8886 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.02181, allocations: 12 kB / 0.8886 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001219/0.02193, allocations: 128.2 kB / 0.8888 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.2e-07/0.02193, allocations: 0 / 0.8888 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004867/0.02242, allocations: 103.7 kB / 0.8889 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.001031/0.02345, allocations: 363.3 kB / 0.8892 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005511/0.024, allocations: 264.9 kB / 0.8895 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.024, allocations: 4.312 kB / 0.8895 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.02421, allocations: 100.5 kB / 0.8896 GB, free: 9.945 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.02454, allocations: 34.06 kB / 0.8896 GB, free: 9.914 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009587/0.0255, allocations: 486 kB / 0.8901 GB, free: 9.414 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.02566, allocations: 140.5 kB / 0.8902 GB, free: 9.258 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.0258, allocations: 50.25 kB / 0.8902 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.02587, allocations: 28.5 kB / 0.8903 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.02587, allocations: 3.938 kB / 0.8903 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of Templates: time 0.00825/0.03412, allocations: 3.312 MB / 0.8935 GB, free: 5.902 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.28852648101747]