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.001567/0.001567, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00196/0.00196, allocations: 215.8 kB / 22.99 MB, free: 4.945 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.248/3.248, allocations: 0.5107 GB / 0.8166 GB, free: 17.88 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.002136/0.002136, allocations: 67.89 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3798, allocations: 181.8 MB / 1.365 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003522/0.3833, allocations: 1.82 MB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002703/0.386, allocations: 1.702 MB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.337e-05/0.3861, allocations: 7.938 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.3863, allocations: 27.78 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.3864, allocations: 23.8 kB / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007301/0.3871, allocations: 263.2 kB / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003495/0.3875, allocations: 259.4 kB / 1.369 GB, free: 9.555 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.3876, allocations: 37.67 kB / 1.369 GB, free: 9.516 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.3878, allocations: 103.7 kB / 1.369 GB, free: 9.414 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.388, allocations: 87.59 kB / 1.369 GB, free: 9.328 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.388, allocations: 12 kB / 1.369 GB, free: 9.316 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003927/0.3884, allocations: 231.6 kB / 1.369 GB, free: 9.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.3885, allocations: 83.73 kB / 1.369 GB, free: 9.008 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.3886, allocations: 79.58 kB / 1.369 GB, free: 8.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005155/0.3891, allocations: 398.6 kB / 1.37 GB, free: 8.539 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3891, allocations: 0 / 1.37 GB, free: 8.539 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3891, allocations: 0 / 1.37 GB, free: 8.539 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.3892, allocations: 3.938 kB / 1.37 GB, free: 8.535 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.0008721/0.39, allocations: 496.8 kB / 1.37 GB, free: 8.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3901, allocations: 8.031 kB / 1.37 GB, free: 8.012 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.3903, allocations: 40.78 kB / 1.37 GB, free: 7.973 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.3907, allocations: 207 kB / 1.37 GB, free: 7.742 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.3907, allocations: 20.36 kB / 1.37 GB, free: 7.723 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.946e-05/0.3908, allocations: 27.94 kB / 1.37 GB, free: 7.695 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.3912, allocations: 213 kB / 1.371 GB, free: 7.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.3912, allocations: 0 / 1.371 GB, free: 7.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.3912, allocations: 11.98 kB / 1.371 GB, free: 7.469 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.3912, allocations: 4 kB / 1.371 GB, free: 7.465 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002544/0.3915, allocations: 119.9 kB / 1.371 GB, free: 7.348 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.3927, allocations: 487.7 kB / 1.371 GB, free: 6.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/0.3931, allocations: 187.6 kB / 1.371 GB, free: 6.648 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.3932, allocations: 92.8 kB / 1.371 GB, free: 6.555 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.3933, allocations: 3.938 kB / 1.371 GB, free: 6.551 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/0.3936, allocations: 176 kB / 1.372 GB, free: 6.367 MB / 1.061 GB Notification: Performance of pre-optimization done (n=27): time 1.743e-06/0.3936, allocations: 0 / 1.372 GB, free: 6.367 MB / 1.061 GB Notification: Performance of matching and sorting (n=27): time 0.0007322/0.3943, allocations: 384.4 kB / 1.372 GB, free: 5.988 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.3944, allocations: 67.39 kB / 1.372 GB, free: 5.91 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.3945, allocations: 174.8 kB / 1.372 GB, free: 5.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.72e-05/0.3946, allocations: 45.7 kB / 1.372 GB, free: 5.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.885e-05/0.3947, allocations: 129 kB / 1.372 GB, free: 5.547 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.357e-05/0.3948, allocations: 87.36 kB / 1.372 GB, free: 5.461 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.3949, allocations: 86.12 kB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.3951, allocations: 334.8 kB / 1.373 GB, free: 5.035 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.3953, allocations: 116.8 kB / 1.373 GB, free: 4.918 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.3957, allocations: 283.1 kB / 1.373 GB, free: 4.578 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/0.3962, allocations: 371.9 kB / 1.374 GB, free: 4.156 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3962, allocations: 0 / 1.374 GB, free: 4.156 MB / 1.061 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006624/0.3969, allocations: 416.9 kB / 1.374 GB, free: 3.742 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3969, allocations: 10.03 kB / 1.374 GB, free: 3.734 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.3969, allocations: 4 kB / 1.374 GB, free: 3.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.3969, allocations: 8 kB / 1.374 GB, free: 3.723 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.3971, allocations: 64.31 kB / 1.374 GB, free: 3.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.3971, allocations: 12 kB / 1.374 GB, free: 3.648 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.3973, allocations: 39.77 kB / 1.374 GB, free: 3.609 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.3973, allocations: 16 kB / 1.374 GB, free: 3.594 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.0001909/0.3975, allocations: 182.5 kB / 1.374 GB, free: 3.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.3975, allocations: 27.8 kB / 1.374 GB, free: 3.383 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/0.3976, allocations: 30.58 kB / 1.374 GB, free: 3.355 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3976, allocations: 0 / 1.374 GB, free: 3.355 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3976, allocations: 3.938 kB / 1.374 GB, free: 3.352 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3976, allocations: 192 / 1.374 GB, free: 3.352 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.3986, allocations: 0.62 MB / 1.375 GB, free: 2.695 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3986, allocations: 0 / 1.375 GB, free: 2.695 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.3987, allocations: 19.98 kB / 1.375 GB, free: 2.676 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3987, allocations: 0 / 1.375 GB, free: 2.676 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.3987, allocations: 11.98 kB / 1.375 GB, free: 2.664 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3987, allocations: 0 / 1.375 GB, free: 2.664 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3987, allocations: 7.938 kB / 1.375 GB, free: 2.656 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007991/0.3995, allocations: 0.5196 MB / 1.375 GB, free: 2.121 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.257e-05/0.3996, allocations: 15.84 kB / 1.375 GB, free: 2.105 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.3996, allocations: 15.98 kB / 1.376 GB, free: 2.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.3997, allocations: 15.98 kB / 1.376 GB, free: 2.074 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.3998, allocations: 15.97 kB / 1.376 GB, free: 2.059 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.3998, allocations: 15.98 kB / 1.376 GB, free: 2.043 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001086/0.3999, allocations: 123.2 kB / 1.376 GB, free: 1.922 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3999, allocations: 0 / 1.376 GB, free: 1.922 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004472/0.4004, allocations: 115.7 kB / 1.376 GB, free: 1.809 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.0009217/0.4013, allocations: 339.3 kB / 1.376 GB, free: 1.531 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005231/0.4018, allocations: 271.5 kB / 1.376 GB, free: 1.266 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4018, allocations: 0 / 1.376 GB, free: 1.266 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.402, allocations: 92.83 kB / 1.376 GB, free: 1.176 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.4023, allocations: 37.53 kB / 1.376 GB, free: 1.141 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009898/0.4033, allocations: 0.53 MB / 1.377 GB, free: 0.5781 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.4035, allocations: 140.6 kB / 1.377 GB, free: 428 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-05/0.4035, allocations: 19.44 kB / 1.377 GB, free: 408 kB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/0.4035, allocations: 0 / 1.377 GB, free: 408 kB / 1.061 GB Notification: Performance of Templates: time 0.006971/0.4105, allocations: 4.04 MB / 1.381 GB, free: 12.36 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/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.292472507338971]