Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.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.001756/0.001756, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.002191/0.002191, allocations: 213.8 kB / 23.01 MB, free: 5.109 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.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 3.181/3.181, allocations: 0.505 GB / 0.8108 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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_8.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_8.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python_3_8.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_8.Examples.SimpleRoom") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 61.08 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3358, allocations: 180.2 MB / 1.354 GB, free: 8.008 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003591/0.3394, allocations: 1.859 MB / 1.356 GB, free: 6.141 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003525/0.3429, allocations: 1.781 MB / 1.358 GB, free: 4.352 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.343, allocations: 4 kB / 1.358 GB, free: 4.348 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.3433, allocations: 31.7 kB / 1.358 GB, free: 4.316 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.3434, allocations: 27.8 kB / 1.358 GB, free: 4.289 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008552/0.3443, allocations: 259.2 kB / 1.358 GB, free: 4.035 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003601/0.3446, allocations: 259.5 kB / 1.358 GB, free: 3.781 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.3448, allocations: 41.67 kB / 1.358 GB, free: 3.742 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.345, allocations: 95.73 kB / 1.358 GB, free: 3.648 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.3452, allocations: 91.59 kB / 1.358 GB, free: 3.559 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.3452, allocations: 16 kB / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000438/0.3456, allocations: 251.6 kB / 1.359 GB, free: 3.297 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.3458, allocations: 91.73 kB / 1.359 GB, free: 3.207 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.3459, allocations: 91.52 kB / 1.359 GB, free: 3.117 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005465/0.3464, allocations: 402.6 kB / 1.359 GB, free: 2.723 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3464, allocations: 4 kB / 1.359 GB, free: 2.719 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3464, allocations: 0 / 1.359 GB, free: 2.719 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.3464, allocations: 0 / 1.359 GB, free: 2.719 MB / 1.045 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.0008701/0.3473, allocations: 0.4928 MB / 1.36 GB, free: 2.195 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3474, allocations: 12.03 kB / 1.36 GB, free: 2.184 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.3475, allocations: 36.78 kB / 1.36 GB, free: 2.148 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.348, allocations: 192.2 kB / 1.36 GB, free: 1.934 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.348, allocations: 24.36 kB / 1.36 GB, free: 1.91 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.686e-05/0.3481, allocations: 27.94 kB / 1.36 GB, free: 1.883 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.3484, allocations: 205.3 kB / 1.36 GB, free: 1.676 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3484, allocations: 0 / 1.36 GB, free: 1.676 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.3485, allocations: 11.98 kB / 1.36 GB, free: 1.664 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.3485, allocations: 8 kB / 1.36 GB, free: 1.656 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/0.3487, allocations: 115.9 kB / 1.36 GB, free: 1.543 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.35, allocations: 0.5498 MB / 1.361 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.3504, allocations: 202.5 kB / 1.361 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.3505, allocations: 92.8 kB / 1.361 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.3506, allocations: 4 kB / 1.361 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003066/0.3509, allocations: 168 kB / 1.361 GB, free: 480 kB / 1.045 GB Notification: Performance of pre-optimization done (n=27): time 1.963e-06/0.3509, allocations: 4 kB / 1.361 GB, free: 476 kB / 1.045 GB Notification: Performance of matching and sorting (n=27): time 0.0007387/0.3516, allocations: 404.2 kB / 1.362 GB, free: 68 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.471e-05/0.3517, allocations: 67.39 kB / 1.362 GB, free: 15.99 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.3519, allocations: 187.5 kB / 1.362 GB, free: 15.79 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.3519, allocations: 45.69 kB / 1.362 GB, free: 15.74 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.352, allocations: 129 kB / 1.362 GB, free: 15.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.399e-05/0.3521, allocations: 83.36 kB / 1.362 GB, free: 15.53 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.3522, allocations: 78.12 kB / 1.362 GB, free: 15.45 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3524, allocations: 342.8 kB / 1.363 GB, free: 15.1 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.3526, allocations: 116.8 kB / 1.363 GB, free: 14.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.3529, allocations: 255.5 kB / 1.363 GB, free: 14.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005115/0.3534, allocations: 367.9 kB / 1.363 GB, free: 14.26 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.3534, allocations: 7.938 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006702/0.3541, allocations: 420.9 kB / 1.364 GB, free: 13.83 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.3541, allocations: 8 kB / 1.364 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3541, allocations: 4 kB / 1.364 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.3542, allocations: 11.98 kB / 1.364 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.3544, allocations: 59.86 kB / 1.364 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/0.3544, allocations: 12.45 kB / 1.364 GB, free: 13.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.3546, allocations: 39.78 kB / 1.364 GB, free: 13.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.3546, allocations: 12 kB / 1.364 GB, free: 13.69 MB / 1.061 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.0002184/0.3548, allocations: 184.2 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.3549, allocations: 27.84 kB / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.383e-05/0.3549, allocations: 26.66 kB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3549, allocations: 0 / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3549, allocations: 4 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3549, allocations: 3.984 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.356, allocations: 0.6538 MB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.356, allocations: 4 kB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.3561, allocations: 15.98 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3561, allocations: 0 / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.3561, allocations: 11.98 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3561, allocations: 8 kB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3561, allocations: 0 / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007479/0.3569, allocations: 0.5163 MB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.245e-05/0.3569, allocations: 23.88 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/0.357, allocations: 16.03 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.3571, allocations: 15.98 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.3572, allocations: 19.97 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.3572, allocations: 16.17 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001214/0.3573, allocations: 136 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3573, allocations: 0 / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000507/0.3578, allocations: 107.7 kB / 1.366 GB, free: 11.83 MB / 1.061 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.0009069/0.3587, allocations: 332.2 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005271/0.3593, allocations: 276.2 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3593, allocations: 3.938 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.3595, allocations: 99.88 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.3598, allocations: 23.98 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.3608, allocations: 0.5255 MB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.3612, allocations: 0.7559 MB / 1.368 GB, free: 9.82 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.752e-05/0.3612, allocations: 27.41 kB / 1.368 GB, free: 9.793 MB / 1.061 GB Notification: Performance of SimCode: time 3.5e-07/0.3612, allocations: 4 kB / 1.368 GB, free: 9.789 MB / 1.061 GB Notification: Performance of Templates: time 0.007154/0.3684, allocations: 4.006 MB / 1.371 GB, free: 5.781 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.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: 12.323751381016336]