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.001759/0.001759, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002456/0.002456, allocations: 206.9 kB / 22.99 MB, free: 4.957 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.473/1.473, 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 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.14/3.14, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 177] 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.002107/0.002107, allocations: 71.2 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3522, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003404/0.3556, allocations: 1.806 MB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002815/0.3584, allocations: 1.722 MB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.464e-05/0.3585, allocations: 0 / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.3587, allocations: 31.72 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.3588, allocations: 23.78 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008154/0.3596, allocations: 259.2 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.36, allocations: 255.5 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.3601, allocations: 45.66 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.3604, allocations: 107.7 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.3605, allocations: 87.66 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.3605, allocations: 12 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004198/0.361, allocations: 243.6 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.3611, allocations: 79.81 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.3612, allocations: 79.58 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005415/0.3617, allocations: 402.5 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3617, allocations: 3.938 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3617, allocations: 4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.3617, allocations: 0 / 1.332 GB, free: 11.86 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.0009445/0.3627, allocations: 0.4928 MB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3627, allocations: 12.03 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.3629, allocations: 32.78 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004557/0.3634, allocations: 203.7 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.3634, allocations: 16.36 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/0.3635, allocations: 31.94 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/0.3639, allocations: 205.1 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3639, allocations: 8 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.3639, allocations: 11.98 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3639, allocations: 4 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002568/0.3642, allocations: 111.9 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.3655, allocations: 491.6 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003624/0.3658, allocations: 194.5 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.366, allocations: 96.83 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.366, allocations: 11.88 kB / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002981/0.3663, allocations: 168.7 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 2.144e-06/0.3663, allocations: 0 / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.000768/0.3671, allocations: 380.4 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.3671, allocations: 75.33 kB / 1.335 GB, free: 9.223 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.3673, allocations: 170.8 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/0.3674, allocations: 45.7 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3675, allocations: 129 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.524e-05/0.3676, allocations: 87.36 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3677, allocations: 82.12 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3678, allocations: 334.8 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.368, allocations: 112.8 kB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.3684, allocations: 283.2 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005662/0.369, allocations: 368 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.369, allocations: 0 / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000688/0.3697, allocations: 429.4 kB / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3697, allocations: 8.031 kB / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.3697, allocations: 4 kB / 1.336 GB, free: 7.043 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.3697, allocations: 8 kB / 1.336 GB, free: 7.035 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.3699, allocations: 67.84 kB / 1.337 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.3699, allocations: 4 kB / 1.337 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.3701, allocations: 39.77 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.3701, allocations: 16 kB / 1.337 GB, free: 6.91 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.0001952/0.3703, allocations: 184.3 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.3704, allocations: 19.84 kB / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.097e-05/0.3704, allocations: 26.64 kB / 1.337 GB, free: 6.676 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3704, allocations: 4 kB / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3704, allocations: 0 / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3704, allocations: 0 / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.3715, allocations: 0.6154 MB / 1.337 GB, free: 6.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3715, allocations: 0 / 1.337 GB, free: 6.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.3716, allocations: 23.98 kB / 1.337 GB, free: 5.996 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3716, allocations: 0 / 1.337 GB, free: 5.996 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.3716, allocations: 11.98 kB / 1.337 GB, free: 5.984 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.3717, allocations: 4 kB / 1.337 GB, free: 5.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3717, allocations: 0 / 1.337 GB, free: 5.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007948/0.3724, allocations: 0.5184 MB / 1.338 GB, free: 5.445 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.3725, allocations: 27.8 kB / 1.338 GB, free: 5.418 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.3725, allocations: 15.98 kB / 1.338 GB, free: 5.402 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.3727, allocations: 11.92 kB / 1.338 GB, free: 5.391 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.3727, allocations: 23.97 kB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.3728, allocations: 15.98 kB / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001/0.3729, allocations: 120.2 kB / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3729, allocations: 0 / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004882/0.3734, allocations: 111.7 kB / 1.338 GB, free: 5.125 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.0009505/0.3743, allocations: 344 kB / 1.339 GB, free: 4.855 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005342/0.3748, allocations: 276.3 kB / 1.339 GB, free: 4.586 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3748, allocations: 0 / 1.339 GB, free: 4.586 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.375, allocations: 99.88 kB / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.3754, allocations: 31.84 kB / 1.339 GB, free: 4.457 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000938/0.3763, allocations: 0.4964 MB / 1.339 GB, free: 3.934 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.3764, allocations: 132.6 kB / 1.34 GB, free: 3.781 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001314/0.3766, allocations: 50.25 kB / 1.34 GB, free: 3.734 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.616e-05/0.3766, allocations: 27.42 kB / 1.34 GB, free: 3.707 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3766, allocations: 0 / 1.34 GB, free: 3.707 MB / 1.029 GB Notification: Performance of Templates: time 0.007873/0.3845, allocations: 3.458 MB / 1.343 GB, free: 308 kB / 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 -s gbode -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/jenkins1/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.049486588992295]