Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002204/0.002204, allocations: 188.2 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.175/3.175, allocations: 496 MB / 0.7835 GB, free: 33.71 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_12_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_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 66.89 kB / 1.138 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3395, allocations: 173.6 MB / 1.307 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003344/0.3428, allocations: 1.852 MB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002577/0.3454, allocations: 1.706 MB / 1.311 GB, free: 14.21 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.012e-05/0.3455, allocations: 7.938 kB / 1.311 GB, free: 14.21 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.3457, allocations: 19.73 kB / 1.311 GB, free: 14.19 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.3458, allocations: 27.84 kB / 1.311 GB, free: 14.16 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007297/0.3465, allocations: 251.2 kB / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.3469, allocations: 247.6 kB / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.347, allocations: 57.45 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.3472, allocations: 95.81 kB / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.3473, allocations: 91.66 kB / 1.311 GB, free: 13.43 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.3474, allocations: 12 kB / 1.312 GB, free: 13.42 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004433/0.3478, allocations: 251.5 kB / 1.312 GB, free: 13.17 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.3479, allocations: 79.75 kB / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.348, allocations: 95.45 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005267/0.3485, allocations: 398.7 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3485, allocations: 0 / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3485, allocations: 0 / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.3486, allocations: 3.938 kB / 1.312 GB, free: 12.61 MB / 1.014 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.0009121/0.3495, allocations: 0.489 MB / 1.313 GB, free: 12.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3495, allocations: 12.92 kB / 1.313 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.615e-05/0.3496, allocations: 28.78 kB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.3499, allocations: 191 kB / 1.313 GB, free: 11.83 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.35, allocations: 16.38 kB / 1.313 GB, free: 11.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.218e-05/0.35, allocations: 31.94 kB / 1.313 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004087/0.3504, allocations: 205.3 kB / 1.313 GB, free: 11.58 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3505, allocations: 4 kB / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.3505, allocations: 4 kB / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3505, allocations: 4 kB / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002643/0.3507, allocations: 115.9 kB / 1.313 GB, free: 11.45 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.3521, allocations: 0.5576 MB / 1.314 GB, free: 10.85 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/0.3525, allocations: 186.5 kB / 1.314 GB, free: 10.66 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.3528, allocations: 92.89 kB / 1.314 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.3528, allocations: 7.938 kB / 1.314 GB, free: 10.56 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003731/0.3532, allocations: 172.7 kB / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of pre-optimization done (n=27): time 1.683e-06/0.3532, allocations: 0 / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=27): time 0.0007664/0.3539, allocations: 392.6 kB / 1.315 GB, free: 9.992 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.354, allocations: 71.33 kB / 1.315 GB, free: 9.91 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.3542, allocations: 191.9 kB / 1.315 GB, free: 9.711 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.102e-05/0.3542, allocations: 49.69 kB / 1.315 GB, free: 9.656 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.768e-05/0.3543, allocations: 121.1 kB / 1.315 GB, free: 9.535 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.559e-05/0.3544, allocations: 91.36 kB / 1.315 GB, free: 9.445 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.3545, allocations: 78.12 kB / 1.315 GB, free: 9.363 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3547, allocations: 338.8 kB / 1.316 GB, free: 9.023 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.3549, allocations: 116.8 kB / 1.316 GB, free: 8.91 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.3552, allocations: 249.5 kB / 1.316 GB, free: 8.605 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005298/0.3557, allocations: 372 kB / 1.316 GB, free: 8.184 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.3557, allocations: 7.938 kB / 1.316 GB, free: 8.176 MB / 1.014 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006775/0.3564, allocations: 428.8 kB / 1.317 GB, free: 7.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3564, allocations: 8 kB / 1.317 GB, free: 7.742 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3564, allocations: 4 kB / 1.317 GB, free: 7.738 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.3565, allocations: 12.45 kB / 1.317 GB, free: 7.727 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.3567, allocations: 59.86 kB / 1.317 GB, free: 7.668 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.3567, allocations: 11.98 kB / 1.317 GB, free: 7.656 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.3568, allocations: 35.78 kB / 1.317 GB, free: 7.621 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.3569, allocations: 16 kB / 1.317 GB, free: 7.605 MB / 1.014 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.0001988/0.3571, allocations: 200.8 kB / 1.317 GB, free: 7.402 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.3571, allocations: 23.86 kB / 1.317 GB, free: 7.379 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.3571, allocations: 18.66 kB / 1.317 GB, free: 7.363 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3571, allocations: 0 / 1.317 GB, free: 7.363 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3572, allocations: 0 / 1.317 GB, free: 7.363 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.3572, allocations: 7.984 kB / 1.317 GB, free: 7.355 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.3582, allocations: 0.6543 MB / 1.318 GB, free: 6.648 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3582, allocations: 0 / 1.318 GB, free: 6.648 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.3583, allocations: 24.17 kB / 1.318 GB, free: 6.625 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.3583, allocations: 4 kB / 1.318 GB, free: 6.621 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.3584, allocations: 11.98 kB / 1.318 GB, free: 6.609 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3584, allocations: 4 kB / 1.318 GB, free: 6.605 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.3584, allocations: 3.984 kB / 1.318 GB, free: 6.602 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007871/0.3592, allocations: 0.5117 MB / 1.318 GB, free: 6.074 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.3592, allocations: 19.84 kB / 1.318 GB, free: 6.055 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.978e-05/0.3593, allocations: 16.03 kB / 1.318 GB, free: 6.039 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.3594, allocations: 11.98 kB / 1.318 GB, free: 6.027 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.428e-05/0.3595, allocations: 19.97 kB / 1.318 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.3595, allocations: 11.98 kB / 1.318 GB, free: 5.996 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001132/0.3596, allocations: 140.2 kB / 1.319 GB, free: 5.859 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3596, allocations: 0 / 1.319 GB, free: 5.859 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000476/0.3601, allocations: 111.6 kB / 1.319 GB, free: 5.75 MB / 1.014 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.0008677/0.3609, allocations: 336.4 kB / 1.319 GB, free: 5.473 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005321/0.3615, allocations: 277.3 kB / 1.319 GB, free: 5.203 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3615, allocations: 0 / 1.319 GB, free: 5.203 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.3617, allocations: 103.9 kB / 1.319 GB, free: 5.102 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.362, allocations: 23.73 kB / 1.319 GB, free: 5.078 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009321/0.3629, allocations: 0.4934 MB / 1.32 GB, free: 4.555 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.3633, allocations: 0.7479 MB / 1.321 GB, free: 3.781 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001473/0.3634, allocations: 58.23 kB / 1.321 GB, free: 3.727 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.906e-05/0.3635, allocations: 19.44 kB / 1.321 GB, free: 3.707 MB / 1.014 GB Notification: Performance of SimCode: time 3.7e-07/0.3635, allocations: 0 / 1.321 GB, free: 3.707 MB / 1.014 GB Notification: Performance of Templates: time 0.008167/0.3717, allocations: 3.454 MB / 1.324 GB, free: 264 kB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.Python_3_8.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: 9.09589646756649]