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.001266/0.001266, 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.00138/0.00138, allocations: 196.6 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.439/1.439, allocations: 225.6 MB / 250.9 MB, free: 13.28 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.739/2.739, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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.003044/0.003044, allocations: 63.89 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9922/0.9952, allocations: 168.7 MB / 1.274 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003769/0.999, allocations: 1.845 MB / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003167/1.002, allocations: 1.698 MB / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.815e-05/1.002, allocations: 7.938 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001768/1.002, allocations: 31.72 kB / 1.278 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/1.003, allocations: 19.8 kB / 1.278 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008105/1.003, allocations: 239.2 kB / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003854/1.004, allocations: 247.5 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/1.004, allocations: 52.12 kB / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/1.004, allocations: 95.73 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/1.004, allocations: 87.66 kB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/1.004, allocations: 12 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005384/1.005, allocations: 223.7 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001972/1.005, allocations: 79.67 kB / 1.279 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/1.005, allocations: 95.47 kB / 1.279 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005688/1.006, allocations: 382.7 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.006, allocations: 0 / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.512e-06/1.006, allocations: 0 / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.301e-05/1.006, allocations: 0 / 1.279 GB, free: 15.44 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.00101/1.007, allocations: 0.5682 MB / 1.28 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/1.007, allocations: 8.031 kB / 1.28 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.673e-05/1.007, allocations: 28.8 kB / 1.28 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/1.007, allocations: 260.8 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/1.007, allocations: 16.38 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.774e-05/1.007, allocations: 39.86 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/1.008, allocations: 201.3 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/1.008, allocations: 4 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/1.008, allocations: 4 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/1.008, allocations: 4 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/1.008, allocations: 119.9 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/1.01, allocations: 0.5898 MB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/1.01, allocations: 186.5 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/1.01, allocations: 84.81 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/1.01, allocations: 4 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000373/1.011, allocations: 181.3 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=27): time 2.214e-06/1.011, allocations: 0 / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.0008059/1.011, allocations: 392.3 kB / 1.282 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/1.011, allocations: 71.33 kB / 1.282 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/1.012, allocations: 187.1 kB / 1.282 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.239e-05/1.012, allocations: 49.69 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/1.012, allocations: 125.1 kB / 1.282 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.124e-05/1.012, allocations: 87.36 kB / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/1.012, allocations: 86.12 kB / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001991/1.012, allocations: 338.8 kB / 1.282 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/1.012, allocations: 116.7 kB / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/1.013, allocations: 253.4 kB / 1.283 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006047/1.013, allocations: 364 kB / 1.283 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/1.013, allocations: 3.938 kB / 1.283 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007452/1.014, allocations: 428.9 kB / 1.284 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/1.014, allocations: 4 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.014, allocations: 4.188 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/1.014, allocations: 11.94 kB / 1.284 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/1.014, allocations: 64.38 kB / 1.284 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/1.014, allocations: 11.94 kB / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/1.015, allocations: 35.78 kB / 1.284 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/1.015, allocations: 23.98 kB / 1.284 GB, free: 10.21 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.0002319/1.015, allocations: 184.2 kB / 1.284 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/1.015, allocations: 23.86 kB / 1.284 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.823e-05/1.015, allocations: 22.55 kB / 1.284 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-06/1.015, allocations: 4 kB / 1.284 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.015, allocations: 3.938 kB / 1.284 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.015, allocations: 0 / 1.284 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/1.016, allocations: 0.6783 MB / 1.285 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.016, allocations: 0 / 1.285 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/1.016, allocations: 23.92 kB / 1.285 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/1.016, allocations: 4 kB / 1.285 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/1.016, allocations: 11.98 kB / 1.285 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/1.016, allocations: 0 / 1.285 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.016, allocations: 0 / 1.285 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008773/1.017, allocations: 0.5124 MB / 1.285 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-05/1.017, allocations: 92.95 kB / 1.285 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.838e-05/1.017, allocations: 20.03 kB / 1.285 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/1.018, allocations: 11.98 kB / 1.285 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/1.018, allocations: 27.91 kB / 1.285 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/1.018, allocations: 11.98 kB / 1.285 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001622/1.018, allocations: 144.2 kB / 1.285 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.018, allocations: 0 / 1.285 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005041/1.018, allocations: 111.6 kB / 1.286 GB, free: 8.238 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.0009378/1.019, allocations: 330.5 kB / 1.286 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000564/1.02, allocations: 277.3 kB / 1.286 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.02, allocations: 0 / 1.286 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002073/1.02, allocations: 99.88 kB / 1.286 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/1.02, allocations: 19.98 kB / 1.286 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/1.021, allocations: 0.4966 MB / 1.287 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000469/1.022, allocations: 0.7518 MB / 1.287 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001537/1.022, allocations: 58.23 kB / 1.288 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/1.022, allocations: 19.44 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/1.022, allocations: 0 / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of Templates: time 0.008524/1.031, allocations: 3.379 MB / 1.291 GB, free: 2.836 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 gbode -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.248962504789233]