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.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.001644/0.001644, allocations: 110 kB / 16.46 MB, free: 6.453 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.001984/0.001984, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.497/1.497, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.211/3.211, allocations: 0.4899 GB / 0.7915 GB, free: 33.17 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_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: 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.00213/0.00213, allocations: 67.56 kB / 1.149 GB, free: 26.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3469, allocations: 176.1 MB / 1.321 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003642/0.3506, allocations: 1.845 MB / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002956/0.3535, allocations: 1.689 MB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.751e-05/0.3536, allocations: 3.938 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.3538, allocations: 27.78 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.3539, allocations: 11.81 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007176/0.3547, allocations: 259.2 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003444/0.355, allocations: 247.5 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.3552, allocations: 53.45 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.3554, allocations: 107.7 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.3556, allocations: 87.66 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.3556, allocations: 16 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004133/0.356, allocations: 223.6 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.3562, allocations: 75.75 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.3563, allocations: 95.52 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005749/0.3568, allocations: 386.6 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3568, allocations: 0 / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3569, allocations: 0 / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.3569, allocations: 0 / 1.326 GB, free: 13.62 MB / 1.029 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.001033/0.3579, allocations: 0.5798 MB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3579, allocations: 11.98 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.3581, allocations: 36.78 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.3586, allocations: 253.6 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/0.3586, allocations: 24.36 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.668e-05/0.3587, allocations: 31.89 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.3591, allocations: 213 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3591, allocations: 4 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.3591, allocations: 7.984 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3591, allocations: 4 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/0.3594, allocations: 115.9 kB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.3606, allocations: 0.582 MB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003604/0.361, allocations: 190.5 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.3612, allocations: 98.53 kB / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.3612, allocations: 3.938 kB / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002948/0.3615, allocations: 176 kB / 1.328 GB, free: 11.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 1.663e-06/0.3615, allocations: 0 / 1.328 GB, free: 11.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.0007554/0.3623, allocations: 408.3 kB / 1.329 GB, free: 10.74 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.3623, allocations: 59.41 kB / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.3625, allocations: 191.5 kB / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/0.3626, allocations: 45.69 kB / 1.329 GB, free: 10.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.666e-05/0.3627, allocations: 129 kB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.324e-05/0.3628, allocations: 83.36 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.3629, allocations: 82.12 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.3631, allocations: 338.8 kB / 1.33 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.3633, allocations: 116.8 kB / 1.33 GB, free: 9.668 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.3636, allocations: 261.4 kB / 1.33 GB, free: 9.352 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.3641, allocations: 364 kB / 1.33 GB, free: 8.938 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.3641, allocations: 7.938 kB / 1.33 GB, free: 8.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006804/0.3648, allocations: 420.8 kB / 1.331 GB, free: 8.512 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3648, allocations: 8 kB / 1.331 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.3648, allocations: 4 kB / 1.331 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.3649, allocations: 8 kB / 1.331 GB, free: 8.492 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.3651, allocations: 64.31 kB / 1.331 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.3651, allocations: 12 kB / 1.331 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.3652, allocations: 39.95 kB / 1.331 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.3653, allocations: 19.94 kB / 1.331 GB, free: 8.359 MB / 1.029 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.0002084/0.3655, allocations: 176.3 kB / 1.331 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.3655, allocations: 31.84 kB / 1.331 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/0.3656, allocations: 18.56 kB / 1.331 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3656, allocations: 4 kB / 1.331 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.3656, allocations: 0 / 1.331 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.3656, allocations: 3.984 kB / 1.331 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.3667, allocations: 0.6821 MB / 1.332 GB, free: 7.379 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.3667, allocations: 4 kB / 1.332 GB, free: 7.375 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.3668, allocations: 15.98 kB / 1.332 GB, free: 7.359 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3668, allocations: 0 / 1.332 GB, free: 7.359 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.3668, allocations: 15.98 kB / 1.332 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3668, allocations: 7.938 kB / 1.332 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3668, allocations: 0 / 1.332 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008239/0.3677, allocations: 0.5125 MB / 1.332 GB, free: 6.805 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.657e-05/0.3677, allocations: 96.91 kB / 1.333 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.3678, allocations: 15.98 kB / 1.333 GB, free: 6.676 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.3679, allocations: 15.98 kB / 1.333 GB, free: 6.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.231e-05/0.368, allocations: 23.97 kB / 1.333 GB, free: 6.637 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.368, allocations: 11.98 kB / 1.333 GB, free: 6.625 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001171/0.3681, allocations: 137 kB / 1.333 GB, free: 6.492 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3681, allocations: 0 / 1.333 GB, free: 6.492 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005116/0.3687, allocations: 115.7 kB / 1.333 GB, free: 6.379 MB / 1.029 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.0009836/0.3696, allocations: 330.3 kB / 1.333 GB, free: 6.113 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005541/0.3702, allocations: 281.6 kB / 1.333 GB, free: 5.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3702, allocations: 3.938 kB / 1.333 GB, free: 5.836 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.3704, allocations: 91.89 kB / 1.333 GB, free: 5.746 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.3707, allocations: 23.92 kB / 1.334 GB, free: 5.723 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.3718, allocations: 0.4966 MB / 1.334 GB, free: 5.199 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.3722, allocations: 0.7595 MB / 1.335 GB, free: 4.414 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001428/0.3723, allocations: 54.23 kB / 1.335 GB, free: 4.363 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.3724, allocations: 27.42 kB / 1.335 GB, free: 4.336 MB / 1.029 GB Notification: Performance of SimCode: time 7.22e-07/0.3724, allocations: 0 / 1.335 GB, free: 4.336 MB / 1.029 GB Notification: Performance of Templates: time 0.008029/0.3804, allocations: 3.322 MB / 1.338 GB, free: 1.016 MB / 1.029 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: 8.981542058754712]