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.002329/0.002329, allocations: 85.48 kB / 19.44 MB, free: 344 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.002787/0.002787, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.545/1.545, allocations: 177.1 MB / 203.1 MB, free: 5.273 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.473/3.473, allocations: 429.5 MB / 0.6729 GB, free: 4.012 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.282e-06/1.282e-06, allocations: 0 / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.608e-05, allocations: 6.328 kB / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom): time 0.003729/0.003755, allocations: 1.846 MB / 0.8792 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002948/0.006703, allocations: 1.74 MB / 0.8809 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.006789, allocations: 3.938 kB / 0.8809 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.006999, allocations: 35.66 kB / 0.881 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.007119, allocations: 23.78 kB / 0.881 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008042/0.007923, allocations: 264.4 kB / 0.8812 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003805/0.008303, allocations: 255.4 kB / 0.8815 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.008445, allocations: 47.36 kB / 0.8815 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002815/0.008727, allocations: 127.8 kB / 0.8816 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.008885, allocations: 71.78 kB / 0.8817 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.008924, allocations: 12 kB / 0.8817 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004762/0.0094, allocations: 237.6 kB / 0.8819 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.009525, allocations: 79.78 kB / 0.882 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.939e-05/0.009624, allocations: 63.81 kB / 0.8821 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006493/0.01027, allocations: 434.6 kB / 0.8825 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.01028, allocations: 0 / 0.8825 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01028, allocations: 2.344 kB / 0.8825 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.01028, allocations: 0 / 0.8825 GB, free: 1.484 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.0009808/0.01126, allocations: 0.5885 MB / 0.8831 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.0113, allocations: 8.031 kB / 0.8831 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.01151, allocations: 49.5 kB / 0.8831 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.01191, allocations: 207.6 kB / 0.8833 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.01195, allocations: 16.36 kB / 0.8833 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.904e-05/0.012, allocations: 28.38 kB / 0.8834 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.01235, allocations: 157.7 kB / 0.8835 GB, free: 380 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.01236, allocations: 4 kB / 0.8835 GB, free: 376 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.01238, allocations: 7.984 kB / 0.8835 GB, free: 368 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.01239, allocations: 4 kB / 0.8835 GB, free: 364 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.01261, allocations: 75.73 kB / 0.8836 GB, free: 288 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.014, allocations: 0.5343 MB / 0.8841 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.01434, allocations: 155.1 kB / 0.8843 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.01449, allocations: 63.66 kB / 0.8843 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.01452, allocations: 4 kB / 0.8843 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002995/0.01482, allocations: 144.1 kB / 0.8845 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=27): time 1.633e-06/0.01482, allocations: 7.938 kB / 0.8845 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27): time 0.0009307/0.01575, allocations: 308 kB / 0.8848 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/0.01583, allocations: 67.33 kB / 0.8848 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.01608, allocations: 256 kB / 0.8851 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.731e-05/0.01614, allocations: 49.69 kB / 0.8851 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.01629, allocations: 183.7 kB / 0.8853 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.0164, allocations: 99.36 kB / 0.8854 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.01656, allocations: 103.8 kB / 0.8855 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003219/0.01688, allocations: 0.5235 MB / 0.886 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.01703, allocations: 52.97 kB / 0.8861 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/0.01741, allocations: 288.4 kB / 0.8863 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005147/0.01792, allocations: 337.7 kB / 0.8867 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.01793, allocations: 0 / 0.8867 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006106/0.01854, allocations: 321 kB / 0.887 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.01856, allocations: 7.938 kB / 0.887 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.01857, allocations: 4 kB / 0.887 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.078e-05/0.0186, allocations: 8.469 kB / 0.887 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.01888, allocations: 87.84 kB / 0.8871 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.01889, allocations: 7.938 kB / 0.8871 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.01903, allocations: 31.83 kB / 0.8871 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.01906, allocations: 20 kB / 0.8871 GB, free: 12.37 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.0002191/0.01928, allocations: 203.1 kB / 0.8873 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.01933, allocations: 27.91 kB / 0.8874 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.329e-05/0.01939, allocations: 30.58 kB / 0.8874 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.0194, allocations: 4 kB / 0.8874 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.0194, allocations: 0 / 0.8874 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.01941, allocations: 0 / 0.8874 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.02052, allocations: 0.6109 MB / 0.888 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.02052, allocations: 3.938 kB / 0.888 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.02064, allocations: 27.92 kB / 0.888 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.02064, allocations: 192 / 0.888 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.02068, allocations: 11.98 kB / 0.888 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.02068, allocations: 4 kB / 0.888 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02068, allocations: 0 / 0.888 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007593/0.02144, allocations: 484.7 kB / 0.8885 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.02148, allocations: 27.72 kB / 0.8885 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.02153, allocations: 15.98 kB / 0.8885 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.02164, allocations: 8 kB / 0.8885 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.02171, allocations: 19.95 kB / 0.8886 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.02175, allocations: 16.03 kB / 0.8886 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001378/0.02188, allocations: 168.2 kB / 0.8887 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02188, allocations: 3.938 kB / 0.8887 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004616/0.02235, allocations: 115.6 kB / 0.8888 GB, free: 10.54 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.001295/0.02364, allocations: 353.8 kB / 0.8892 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004885/0.02413, allocations: 221.6 kB / 0.8894 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02413, allocations: 0 / 0.8894 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.02432, allocations: 89.17 kB / 0.8895 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.000337/0.02466, allocations: 34.25 kB / 0.8895 GB, free: 9.914 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009114/0.02557, allocations: 447.8 kB / 0.8899 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.02572, allocations: 132.6 kB / 0.8901 GB, free: 9.301 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.02585, allocations: 50.23 kB / 0.8901 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.659e-05/0.02591, allocations: 24.48 kB / 0.8901 GB, free: 9.227 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/0.02591, allocations: 0 / 0.8901 GB, free: 9.227 MB / 0.8542 GB Notification: Performance of Templates: time 0.008642/0.03455, allocations: 3.308 MB / 0.8934 GB, free: 5.957 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","/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.659258338971995]