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.001371/0.001371, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001505/0.001505, allocations: 212.2 kB / 22.24 MB, free: 5.262 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.805 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.337/3.337, allocations: 0.5107 GB / 0.8158 GB, free: 17.89 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.002109/0.002109, allocations: 77.41 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3636, allocations: 181.9 MB / 1.364 GB, free: 13.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003638/0.3673, allocations: 1.816 MB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002883/0.3701, allocations: 1.702 MB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.151e-05/0.3702, allocations: 7.938 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.3704, allocations: 23.78 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.3705, allocations: 27.8 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007541/0.3713, allocations: 269.9 kB / 1.368 GB, free: 9.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003956/0.3717, allocations: 251.4 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.3718, allocations: 49.64 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.372, allocations: 95.69 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.3722, allocations: 79.66 kB / 1.368 GB, free: 9.352 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.3722, allocations: 16 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004027/0.3726, allocations: 223.6 kB / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.3727, allocations: 91.78 kB / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.502e-05/0.3728, allocations: 83.53 kB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005444/0.3734, allocations: 402.6 kB / 1.369 GB, free: 8.551 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3734, allocations: 0 / 1.369 GB, free: 8.551 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3734, allocations: 0 / 1.369 GB, free: 8.551 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.3734, allocations: 0 / 1.369 GB, free: 8.551 MB / 1.061 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.0008848/0.3743, allocations: 496.8 kB / 1.369 GB, free: 8.035 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.3743, allocations: 8.031 kB / 1.369 GB, free: 8.027 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.3745, allocations: 36.78 kB / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.3749, allocations: 207 kB / 1.37 GB, free: 7.762 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.3749, allocations: 20.38 kB / 1.37 GB, free: 7.742 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.344e-05/0.375, allocations: 27.94 kB / 1.37 GB, free: 7.715 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003926/0.3754, allocations: 213.1 kB / 1.37 GB, free: 7.5 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.3754, allocations: 3.938 kB / 1.37 GB, free: 7.496 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.3754, allocations: 4 kB / 1.37 GB, free: 7.492 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.3754, allocations: 4 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/0.3757, allocations: 115.9 kB / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.3769, allocations: 495.7 kB / 1.37 GB, free: 6.859 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003978/0.3773, allocations: 191.5 kB / 1.371 GB, free: 6.664 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.3775, allocations: 84.81 kB / 1.371 GB, free: 6.578 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.3775, allocations: 7.938 kB / 1.371 GB, free: 6.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002871/0.3778, allocations: 168 kB / 1.371 GB, free: 6.395 MB / 1.061 GB Notification: Performance of pre-optimization done (n=27): time 1.693e-06/0.3778, allocations: 0 / 1.371 GB, free: 6.395 MB / 1.061 GB Notification: Performance of matching and sorting (n=27): time 0.000778/0.3786, allocations: 388.4 kB / 1.371 GB, free: 6.012 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.3787, allocations: 71.33 kB / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.3789, allocations: 178.8 kB / 1.371 GB, free: 5.746 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.27e-05/0.3789, allocations: 45.69 kB / 1.371 GB, free: 5.695 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.379, allocations: 129 kB / 1.372 GB, free: 5.562 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.841e-05/0.3791, allocations: 83.36 kB / 1.372 GB, free: 5.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.3793, allocations: 78.12 kB / 1.372 GB, free: 5.398 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.3794, allocations: 342.8 kB / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.3797, allocations: 120.7 kB / 1.372 GB, free: 4.934 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.38, allocations: 283.1 kB / 1.372 GB, free: 4.594 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005684/0.3806, allocations: 364 kB / 1.373 GB, free: 4.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.3806, allocations: 4 kB / 1.373 GB, free: 4.176 MB / 1.061 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006944/0.3813, allocations: 417 kB / 1.373 GB, free: 3.762 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3813, allocations: 8 kB / 1.373 GB, free: 3.754 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3813, allocations: 7.984 kB / 1.373 GB, free: 3.746 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.3813, allocations: 4 kB / 1.373 GB, free: 3.742 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.3815, allocations: 63.86 kB / 1.373 GB, free: 3.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.3816, allocations: 12.45 kB / 1.373 GB, free: 3.668 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.3817, allocations: 39.72 kB / 1.373 GB, free: 3.629 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.3817, allocations: 19.98 kB / 1.373 GB, free: 3.609 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.0002006/0.3819, allocations: 186.5 kB / 1.374 GB, free: 3.422 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.382, allocations: 23.8 kB / 1.374 GB, free: 3.398 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.382, allocations: 18.66 kB / 1.374 GB, free: 3.383 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.382, allocations: 8 kB / 1.374 GB, free: 3.375 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.382, allocations: 0 / 1.374 GB, free: 3.375 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.382, allocations: 3.984 kB / 1.374 GB, free: 3.371 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.383, allocations: 0.6122 MB / 1.374 GB, free: 2.723 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.383, allocations: 0 / 1.374 GB, free: 2.723 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.3831, allocations: 19.98 kB / 1.374 GB, free: 2.703 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.3831, allocations: 4 kB / 1.374 GB, free: 2.699 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.3832, allocations: 7.984 kB / 1.374 GB, free: 2.691 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3832, allocations: 0 / 1.374 GB, free: 2.691 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3832, allocations: 0 / 1.374 GB, free: 2.691 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008192/0.384, allocations: 0.5273 MB / 1.375 GB, free: 2.148 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.384, allocations: 15.84 kB / 1.375 GB, free: 2.133 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/0.3841, allocations: 20.03 kB / 1.375 GB, free: 2.113 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3842, allocations: 7.984 kB / 1.375 GB, free: 2.105 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.3843, allocations: 23.95 kB / 1.375 GB, free: 2.082 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.3843, allocations: 12.17 kB / 1.375 GB, free: 2.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001131/0.3844, allocations: 123.2 kB / 1.375 GB, free: 1.949 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3844, allocations: 0 / 1.375 GB, free: 1.949 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004692/0.3849, allocations: 107.7 kB / 1.375 GB, free: 1.844 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.0009052/0.3858, allocations: 361.2 kB / 1.375 GB, free: 1.547 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000526/0.3863, allocations: 271.5 kB / 1.376 GB, free: 1.281 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3863, allocations: 0 / 1.376 GB, free: 1.281 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.3865, allocations: 103.9 kB / 1.376 GB, free: 1.18 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.3868, allocations: 28.77 kB / 1.376 GB, free: 1.152 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000907/0.3877, allocations: 0.4932 MB / 1.376 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.3879, allocations: 136.6 kB / 1.376 GB, free: 488 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001288/0.388, allocations: 54.25 kB / 1.376 GB, free: 436 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.388, allocations: 19.44 kB / 1.376 GB, free: 416 kB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.388, allocations: 3.938 kB / 1.376 GB, free: 412 kB / 1.061 GB Notification: Performance of Templates: time 0.008013/0.396, allocations: 3.415 MB / 1.38 GB, free: 13.03 MB / 1.076 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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.066004103049636]