Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001925/0.001925, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002329/0.002329, allocations: 186 kB / 20.78 MB, free: 1.547 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.491/1.491, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.804/2.804, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 75.88 kB / 1.107 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9434/0.9454, allocations: 168.7 MB / 1.272 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.0035/0.9489, allocations: 1.84 MB / 1.274 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.951, allocations: 1.677 MB / 1.275 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.423e-05/0.9511, allocations: 6.062 kB / 1.275 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.9513, allocations: 22.34 kB / 1.275 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.962e-05/0.9514, allocations: 27.58 kB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006328/0.952, allocations: 240 kB / 1.276 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.9523, allocations: 255.5 kB / 1.276 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.9525, allocations: 43.11 kB / 1.276 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.9526, allocations: 93.27 kB / 1.276 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.9527, allocations: 88.97 kB / 1.276 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.9528, allocations: 13.88 kB / 1.276 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003668/0.9531, allocations: 218.6 kB / 1.276 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.833e-05/0.9532, allocations: 87.16 kB / 1.276 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.382e-05/0.9533, allocations: 91.89 kB / 1.277 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004751/0.9538, allocations: 384 kB / 1.277 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.9538, allocations: 0.8125 kB / 1.277 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.522e-06/0.9538, allocations: 0 / 1.277 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.9538, allocations: 0 / 1.277 GB, free: 5.039 MB / 0.9981 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.0007452/0.9545, allocations: 0.5644 MB / 1.277 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.9546, allocations: 8.969 kB / 1.277 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.164e-05/0.9547, allocations: 30.67 kB / 1.277 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.955, allocations: 262.3 kB / 1.278 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.955, allocations: 18.28 kB / 1.278 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.487e-05/0.955, allocations: 33.23 kB / 1.278 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003866/0.9554, allocations: 203.3 kB / 1.278 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.9554, allocations: 0 / 1.278 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.9555, allocations: 11 kB / 1.278 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.9555, allocations: 5.75 kB / 1.278 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002488/0.9557, allocations: 116.6 kB / 1.278 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.9569, allocations: 0.5802 MB / 1.279 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.9572, allocations: 201.7 kB / 1.279 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.9574, allocations: 92.38 kB / 1.279 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.9574, allocations: 4.484 kB / 1.279 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003459/0.9577, allocations: 173.1 kB / 1.279 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 1.683e-06/0.9577, allocations: 0 / 1.279 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27): time 0.0007996/0.9585, allocations: 397.5 kB / 1.279 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.9586, allocations: 73.83 kB / 1.28 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.9588, allocations: 188.6 kB / 1.28 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.9588, allocations: 47.94 kB / 1.28 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.9589, allocations: 123 kB / 1.28 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.954e-05/0.959, allocations: 80.55 kB / 1.28 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.9591, allocations: 80 kB / 1.28 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.9592, allocations: 342.7 kB / 1.28 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.9594, allocations: 119.1 kB / 1.28 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.9597, allocations: 255.2 kB / 1.281 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/0.9602, allocations: 364.7 kB / 1.281 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.9602, allocations: 3.938 kB / 1.281 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006019/0.9608, allocations: 427.7 kB / 1.281 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.9608, allocations: 8.562 kB / 1.281 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.9608, allocations: 3.969 kB / 1.281 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.9609, allocations: 7.719 kB / 1.282 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.9611, allocations: 62.19 kB / 1.282 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.9611, allocations: 10.3 kB / 1.282 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.9612, allocations: 33.09 kB / 1.282 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.9612, allocations: 21.22 kB / 1.282 GB, free: 1.934 MB / 0.9981 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.0001542/0.9614, allocations: 186.8 kB / 1.282 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.9614, allocations: 23.64 kB / 1.282 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.9615, allocations: 18.27 kB / 1.282 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.9615, allocations: 5.297 kB / 1.282 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.9615, allocations: 4 kB / 1.282 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.9615, allocations: 1.031 kB / 1.282 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009319/0.9624, allocations: 0.6862 MB / 1.283 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.9624, allocations: 0 / 1.283 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.9625, allocations: 26.28 kB / 1.283 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.9625, allocations: 2.906 kB / 1.283 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.9626, allocations: 11.95 kB / 1.283 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.9626, allocations: 0 / 1.283 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9626, allocations: 0 / 1.283 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006867/0.9633, allocations: 0.5145 MB / 1.283 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.9633, allocations: 96.8 kB / 1.283 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.9633, allocations: 17.41 kB / 1.283 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.9635, allocations: 15.44 kB / 1.283 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.9635, allocations: 22.17 kB / 1.283 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.9636, allocations: 13.58 kB / 1.283 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.855e-05/0.9637, allocations: 139.6 kB / 1.283 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9637, allocations: 0 / 1.283 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004634/0.9641, allocations: 107.7 kB / 1.283 GB, free: 0.8203 MB / 0.9981 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.0008134/0.9649, allocations: 334.8 kB / 1.284 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005017/0.9654, allocations: 276.2 kB / 1.284 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9654, allocations: 4.125 kB / 1.284 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.9656, allocations: 98.47 kB / 1.284 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.9659, allocations: 26.23 kB / 1.284 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009866/0.9669, allocations: 0.4993 MB / 1.285 GB, free: 244 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.9674, allocations: 0.7589 MB / 1.285 GB, free: 15.53 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001585/0.9675, allocations: 55.48 kB / 1.285 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.9676, allocations: 19.11 kB / 1.285 GB, free: 15.52 MB / 1.014 GB Notification: Performance of SimCode: time 7.41e-07/0.9676, allocations: 0 / 1.285 GB, free: 15.52 MB / 1.014 GB Notification: Performance of Templates: time 0.009235/0.9768, allocations: 3.368 MB / 1.289 GB, free: 15.23 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.262925611808896]