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.001365/0.001365, allocations: 78.48 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001518/0.001518, allocations: 169.8 kB / 22.46 MB, free: 5.359 MB / 14.72 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.45/1.45, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 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 2.915/2.915, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.313e-06/1.313e-06, allocations: 0 / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.005e-05, allocations: 9.734 kB / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom): time 0.003454/0.003484, allocations: 1.805 MB / 1.002 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002949/0.006433, allocations: 1.718 MB / 1.004 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.006544, allocations: 3.938 kB / 1.004 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.00674, allocations: 35.64 kB / 1.004 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.006875, allocations: 27.8 kB / 1.004 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008611/0.007736, allocations: 259.1 kB / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003803/0.008116, allocations: 259.4 kB / 1.004 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.008279, allocations: 37.8 kB / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003077/0.008587, allocations: 127.7 kB / 1.004 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.008754, allocations: 75.77 kB / 1.004 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.776e-05/0.008792, allocations: 12 kB / 1.004 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004535/0.009245, allocations: 231.5 kB / 1.005 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.009369, allocations: 87.7 kB / 1.005 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.804e-05/0.009467, allocations: 67.81 kB / 1.005 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006569/0.01012, allocations: 418.8 kB / 1.005 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.01013, allocations: 0 / 1.005 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.182e-06/0.01013, allocations: 0 / 1.005 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.01014, allocations: 0 / 1.005 GB, free: 2.145 MB / 0.9512 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.0009651/0.0111, allocations: 0.4929 MB / 1.006 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.01114, allocations: 8.031 kB / 1.006 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.01134, allocations: 40.78 kB / 1.006 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004202/0.01176, allocations: 202.2 kB / 1.006 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.0118, allocations: 20.36 kB / 1.006 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/0.01186, allocations: 24.38 kB / 1.006 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.01228, allocations: 217.3 kB / 1.006 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.01229, allocations: 0 / 1.006 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.01232, allocations: 11.98 kB / 1.006 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.01233, allocations: 4 kB / 1.006 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.0126, allocations: 111.9 kB / 1.006 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.01386, allocations: 495.7 kB / 1.007 GB, free: 456 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.01425, allocations: 182.5 kB / 1.007 GB, free: 264 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.01444, allocations: 96.78 kB / 1.007 GB, free: 164 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.01446, allocations: 4 kB / 1.007 GB, free: 160 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003124/0.01478, allocations: 172 kB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=27): time 1.903e-06/0.01478, allocations: 0 / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=27): time 0.0008051/0.01558, allocations: 383.9 kB / 1.007 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.01565, allocations: 67.39 kB / 1.008 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.01583, allocations: 174.2 kB / 1.008 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.771e-05/0.01588, allocations: 49.69 kB / 1.008 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.01599, allocations: 129 kB / 1.008 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.774e-05/0.01608, allocations: 79.38 kB / 1.008 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.0162, allocations: 82.19 kB / 1.008 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.01636, allocations: 342.8 kB / 1.008 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.01659, allocations: 116.9 kB / 1.008 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/0.01696, allocations: 283.8 kB / 1.009 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005984/0.01756, allocations: 371.9 kB / 1.009 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.01756, allocations: 0 / 1.009 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007397/0.0183, allocations: 413 kB / 1.009 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.01832, allocations: 11.94 kB / 1.01 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.01833, allocations: 4 kB / 1.01 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.01835, allocations: 8 kB / 1.01 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.01858, allocations: 59.91 kB / 1.01 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/0.0186, allocations: 12.41 kB / 1.01 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.01876, allocations: 39.78 kB / 1.01 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.01879, allocations: 16 kB / 1.01 GB, free: 13.21 MB / 0.9669 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.0002595/0.01905, allocations: 184.2 kB / 1.01 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.01909, allocations: 19.84 kB / 1.01 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.263e-05/0.01916, allocations: 26.58 kB / 1.01 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01916, allocations: 4 kB / 1.01 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.01917, allocations: 4 kB / 1.01 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01917, allocations: 0 / 1.01 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.02033, allocations: 0.6127 MB / 1.01 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.02034, allocations: 3.938 kB / 1.01 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.02047, allocations: 27.92 kB / 1.011 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.02048, allocations: 3.938 kB / 1.011 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.0205, allocations: 8.172 kB / 1.011 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.02051, allocations: 4 kB / 1.011 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02051, allocations: 4 kB / 1.011 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000846/0.02135, allocations: 0.5158 MB / 1.011 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.775e-05/0.02138, allocations: 23.78 kB / 1.011 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/0.02143, allocations: 16.03 kB / 1.011 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.02158, allocations: 11.98 kB / 1.011 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.932e-05/0.02165, allocations: 23.91 kB / 1.011 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.02168, allocations: 11.98 kB / 1.011 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001258/0.02181, allocations: 124.2 kB / 1.011 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.02181, allocations: 0 / 1.011 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005117/0.02232, allocations: 111.7 kB / 1.011 GB, free: 11.41 MB / 0.9669 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.0009849/0.02331, allocations: 358 kB / 1.012 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005388/0.02384, allocations: 271.5 kB / 1.012 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.02385, allocations: 0 / 1.012 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.02405, allocations: 99.88 kB / 1.012 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.02437, allocations: 27.2 kB / 1.012 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009736/0.02535, allocations: 476.2 kB / 1.013 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.02554, allocations: 132.6 kB / 1.013 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001419/0.02569, allocations: 58.19 kB / 1.013 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.307e-05/0.02575, allocations: 28.47 kB / 1.013 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of SimCode: time 6.41e-07/0.02575, allocations: 0 / 1.013 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of Templates: time 0.008638/0.03439, allocations: 3.294 MB / 1.016 GB, free: 6.754 MB / 0.9669 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.250252239406109]