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.001725/0.001725, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002058/0.002058, allocations: 194.2 kB / 22.17 MB, free: 5.656 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.511/1.511, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.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.866/2.866, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 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.001981/0.001981, allocations: 67.89 kB / 1.109 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9642/0.9662, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.005454/0.9716, allocations: 1.841 MB / 1.276 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004516/0.9761, allocations: 1.699 MB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.9763, allocations: 7.938 kB / 1.277 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002526/0.9765, allocations: 23.78 kB / 1.278 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.9767, allocations: 15.81 kB / 1.278 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.9777, allocations: 247.2 kB / 1.278 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004794/0.9782, allocations: 247.5 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.9784, allocations: 53.25 kB / 1.278 GB, free: 436 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.9787, allocations: 95.72 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.9789, allocations: 87.66 kB / 1.278 GB, free: 252 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/0.979, allocations: 12 kB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006686/0.9797, allocations: 211.7 kB / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.9799, allocations: 91.67 kB / 1.279 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.98, allocations: 87.52 kB / 1.279 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007893/0.9808, allocations: 389.4 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.9808, allocations: 0 / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9808, allocations: 4 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.9808, allocations: 0 / 1.279 GB, free: 15.47 MB / 0.9825 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.001395/0.9822, allocations: 0.5682 MB / 1.28 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.9823, allocations: 8.031 kB / 1.28 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.9824, allocations: 24.8 kB / 1.28 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005833/0.983, allocations: 256.9 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.084e-05/0.983, allocations: 24.38 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.9831, allocations: 31.92 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006239/0.9838, allocations: 209.2 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.9838, allocations: 0 / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.038e-05/0.9838, allocations: 8 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.9838, allocations: 4 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000422/0.9842, allocations: 115.9 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/0.9865, allocations: 0.5859 MB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006113/0.9871, allocations: 194.4 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.9874, allocations: 88.81 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.9874, allocations: 7.984 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005725/0.988, allocations: 168 kB / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=27): time 3.256e-06/0.988, allocations: 0 / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.001375/0.9894, allocations: 403 kB / 1.282 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.9895, allocations: 63.39 kB / 1.282 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.9898, allocations: 187.1 kB / 1.282 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.9899, allocations: 57.69 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.99, allocations: 121.1 kB / 1.282 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.9902, allocations: 91.36 kB / 1.282 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.9904, allocations: 74.14 kB / 1.282 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002318/0.9906, allocations: 342.8 kB / 1.282 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.991, allocations: 112.8 kB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005707/0.9916, allocations: 257.4 kB / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009679/0.9925, allocations: 372 kB / 1.283 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/0.9926, allocations: 3.938 kB / 1.283 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001334/0.9939, allocations: 421.4 kB / 1.284 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.9939, allocations: 8 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.9939, allocations: 8 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-05/0.994, allocations: 4 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.9944, allocations: 67.84 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.46e-05/0.9944, allocations: 8 kB / 1.284 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.9947, allocations: 27.78 kB / 1.284 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/0.9948, allocations: 23.94 kB / 1.284 GB, free: 10.25 MB / 0.9825 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.0003893/0.9952, allocations: 192.2 kB / 1.284 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.929e-05/0.9952, allocations: 19.86 kB / 1.284 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.519e-05/0.9953, allocations: 22.55 kB / 1.284 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.9953, allocations: 4 kB / 1.284 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.9954, allocations: 0 / 1.284 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.9954, allocations: 0 / 1.284 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.9974, allocations: 0.6899 MB / 1.285 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.9974, allocations: 0 / 1.285 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.9977, allocations: 23.98 kB / 1.285 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.9977, allocations: 0 / 1.285 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.206e-05/0.9977, allocations: 7.984 kB / 1.285 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.9977, allocations: 0 / 1.285 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.9977, allocations: 4.125 kB / 1.285 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.9992, allocations: 0.5163 MB / 1.285 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.9994, allocations: 101 kB / 1.285 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.627e-05/0.9995, allocations: 20.03 kB / 1.285 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.9997, allocations: 7.984 kB / 1.285 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.9998, allocations: 19.97 kB / 1.285 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/0.9999, allocations: 11.98 kB / 1.285 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002309/1, allocations: 140.2 kB / 1.285 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.5e-07/1, allocations: 0 / 1.285 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009386/1.001, allocations: 111.6 kB / 1.286 GB, free: 8.273 MB / 0.9825 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.001465/1.003, allocations: 342.2 kB / 1.286 GB, free: 8 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009853/1.003, allocations: 271.5 kB / 1.286 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.004, allocations: 3.938 kB / 1.286 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003862/1.004, allocations: 104.8 kB / 1.286 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005474/1.004, allocations: 19.98 kB / 1.286 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/1.006, allocations: 0.4919 MB / 1.287 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/1.007, allocations: 0.7479 MB / 1.287 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002681/1.007, allocations: 58.23 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.497e-05/1.007, allocations: 19.44 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of SimCode: time 6.92e-07/1.007, allocations: 0 / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of Templates: time 0.01435/1.021, allocations: 3.375 MB / 1.291 GB, free: 2.867 MB / 0.9825 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.316657447256148]