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.00085/0.00085, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008076/0.0008076, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8732/0.8732, allocations: 177.1 MB / 203.5 MB, free: 5.727 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 1.774/1.774, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] 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.373e-06/1.373e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.187e-05, allocations: 6.219 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom): time 0.002277/0.002299, allocations: 1.81 MB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.003932, allocations: 1.714 MB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.401e-05/0.004006, allocations: 3.938 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.004161, allocations: 27.78 kB / 1.004 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.947e-05/0.004261, allocations: 23.73 kB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.004807, allocations: 267 kB / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.005042, allocations: 255.4 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.005167, allocations: 45.77 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.005365, allocations: 123.8 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.005476, allocations: 75.77 kB / 1.005 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.005499, allocations: 12 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002607/0.00576, allocations: 235.5 kB / 1.005 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.08e-05/0.00585, allocations: 87.7 kB / 1.005 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.939e-05/0.00591, allocations: 55.84 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.006306, allocations: 434.6 kB / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.006308, allocations: 0 / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.052e-06/0.006309, allocations: 4 kB / 1.006 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.006314, allocations: 0 / 1.006 GB, free: 7.883 MB / 0.9636 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.0005789/0.006893, allocations: 496.8 kB / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.006925, allocations: 8.75 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.00704, allocations: 44.72 kB / 1.006 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.007303, allocations: 198.3 kB / 1.007 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.007324, allocations: 20.36 kB / 1.007 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.007359, allocations: 32.31 kB / 1.007 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.007611, allocations: 213.4 kB / 1.007 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.007622, allocations: 0 / 1.007 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.00764, allocations: 8 kB / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.007646, allocations: 4 kB / 1.007 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.007812, allocations: 115.9 kB / 1.007 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009026/0.008715, allocations: 495.7 kB / 1.007 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.008961, allocations: 186.5 kB / 1.008 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.009068, allocations: 92.8 kB / 1.008 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.009094, allocations: 0 / 1.008 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.009308, allocations: 172.1 kB / 1.008 GB, free: 5.723 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.009309, allocations: 3.938 kB / 1.008 GB, free: 5.719 MB / 0.9636 GB Notification: Performance of matching and sorting (n=27): time 0.0004627/0.009772, allocations: 387.9 kB / 1.008 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.009819, allocations: 67.39 kB / 1.008 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.009923, allocations: 171.7 kB / 1.008 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.00995, allocations: 45.69 kB / 1.009 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.01001, allocations: 133 kB / 1.009 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.297e-05/0.01006, allocations: 83.36 kB / 1.009 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.01013, allocations: 82.19 kB / 1.009 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.01022, allocations: 342.8 kB / 1.009 GB, free: 4.379 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.01034, allocations: 112.9 kB / 1.009 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.01052, allocations: 283.7 kB / 1.01 GB, free: 3.93 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.01081, allocations: 368 kB / 1.01 GB, free: 3.512 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.01081, allocations: 4 kB / 1.01 GB, free: 3.508 MB / 0.9636 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00038/0.01119, allocations: 413.4 kB / 1.01 GB, free: 3.098 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.01121, allocations: 11.94 kB / 1.01 GB, free: 3.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.01121, allocations: 4 kB / 1.01 GB, free: 3.082 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.01123, allocations: 8 kB / 1.01 GB, free: 3.074 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.01134, allocations: 63.84 kB / 1.01 GB, free: 3.012 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.01135, allocations: 15.88 kB / 1.01 GB, free: 2.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.415e-05/0.01142, allocations: 39.77 kB / 1.01 GB, free: 2.957 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.01144, allocations: 12 kB / 1.01 GB, free: 2.945 MB / 0.9636 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.0001184/0.01156, allocations: 180.4 kB / 1.011 GB, free: 2.758 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.01158, allocations: 23.86 kB / 1.011 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.01161, allocations: 26.58 kB / 1.011 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01161, allocations: 0 / 1.011 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.01161, allocations: 0 / 1.011 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.01161, allocations: 0 / 1.011 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005696/0.01218, allocations: 0.6244 MB / 1.011 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01219, allocations: 3.938 kB / 1.011 GB, free: 2.043 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.763e-05/0.01224, allocations: 23.92 kB / 1.011 GB, free: 2.02 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.01225, allocations: 0 / 1.011 GB, free: 2.02 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.01226, allocations: 7.984 kB / 1.011 GB, free: 2.012 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01226, allocations: 3.984 kB / 1.011 GB, free: 2.008 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01226, allocations: 0 / 1.011 GB, free: 2.008 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.0127, allocations: 0.5119 MB / 1.012 GB, free: 1.48 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.628e-05/0.01271, allocations: 23.81 kB / 1.012 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.01274, allocations: 15.98 kB / 1.012 GB, free: 1.441 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.958e-05/0.0128, allocations: 19.98 kB / 1.012 GB, free: 1.422 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.01285, allocations: 15.97 kB / 1.012 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.01287, allocations: 15.98 kB / 1.012 GB, free: 1.391 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.452e-05/0.01292, allocations: 120.2 kB / 1.012 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01292, allocations: 4 kB / 1.012 GB, free: 1.27 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002794/0.0132, allocations: 119.5 kB / 1.012 GB, free: 1.152 MB / 0.9636 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.0004786/0.01368, allocations: 350.6 kB / 1.012 GB, free: 0.8711 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003012/0.01398, allocations: 276 kB / 1.013 GB, free: 0.6016 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01398, allocations: 0 / 1.013 GB, free: 0.6016 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.01409, allocations: 99.88 kB / 1.013 GB, free: 0.5039 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.01429, allocations: 34.09 kB / 1.013 GB, free: 484 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000582/0.01487, allocations: 498 kB / 1.013 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.724e-05/0.01496, allocations: 145.2 kB / 1.013 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.015, allocations: 24.5 kB / 1.013 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of SimCode: time 6.41e-07/0.015, allocations: 3.938 kB / 1.013 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of Templates: time 0.00415/0.01915, allocations: 4.094 MB / 1.017 GB, free: 11.67 MB / 0.9792 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] "" Variables in the reference:time,TAmb.y,onOffCon.u,pyt.yR[2] Variables in the result:TAmb.y,onOffCon.u,pyt.yR[2],time [Calling sys.exit(0), Time elapsed: 7.44301663339138]