Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 102.2 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 194.3 kB / 17.3 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.196/1.196, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.966/1.966, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 60.59 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2488, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.002836/0.2516, allocations: 1.774 MB / 0.9528 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.2538, allocations: 1.611 MB / 0.9544 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.332e-05/0.2538, allocations: 4 kB / 0.9544 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.254, allocations: 35.7 kB / 0.9545 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.021e-05/0.2541, allocations: 11.88 kB / 0.9545 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000587/0.2547, allocations: 239.2 kB / 0.9547 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.2551, allocations: 247.5 kB / 0.9549 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.2552, allocations: 57.88 kB / 0.955 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.2553, allocations: 87.75 kB / 0.9551 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.2555, allocations: 75.67 kB / 0.9551 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.2555, allocations: 16 kB / 0.9552 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.2559, allocations: 211.6 kB / 0.9554 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.256, allocations: 83.8 kB / 0.9554 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.562e-05/0.2561, allocations: 91.53 kB / 0.9555 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.2565, allocations: 379 kB / 0.9559 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2565, allocations: 0 / 0.9559 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.266e-06/0.2565, allocations: 0 / 0.9559 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.2565, allocations: 3.938 kB / 0.9559 GB, free: 3.129 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009001/0.2574, allocations: 0.5702 MB / 0.9564 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.2574, allocations: 8.031 kB / 0.9565 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.993e-05/0.2575, allocations: 24.66 kB / 0.9565 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.2578, allocations: 243.9 kB / 0.9567 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.2578, allocations: 20.69 kB / 0.9567 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.727e-05/0.2579, allocations: 27.88 kB / 0.9568 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.2582, allocations: 212.1 kB / 0.957 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.2582, allocations: 0 / 0.957 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.2583, allocations: 4 kB / 0.957 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2583, allocations: 7.938 kB / 0.957 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.2585, allocations: 116.5 kB / 0.9571 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.2597, allocations: 0.582 MB / 0.9576 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007363/0.2604, allocations: 278.5 kB / 0.9579 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.2606, allocations: 96.75 kB / 0.958 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.2606, allocations: 7.984 kB / 0.958 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002837/0.2609, allocations: 173.9 kB / 0.9582 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 1.673e-06/0.2609, allocations: 4 kB / 0.9582 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.0006335/0.2615, allocations: 377.3 kB / 0.9585 GB, free: 244 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.2616, allocations: 71.38 kB / 0.9586 GB, free: 160 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.2618, allocations: 182.8 kB / 0.9588 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.2618, allocations: 45.69 kB / 0.9588 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.2619, allocations: 124.6 kB / 0.9589 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.894e-05/0.262, allocations: 79 kB / 0.959 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.953e-05/0.262, allocations: 78.12 kB / 0.9591 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002105/0.2623, allocations: 342.8 kB / 0.9594 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.2624, allocations: 116.7 kB / 0.9595 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.2627, allocations: 240.6 kB / 0.9598 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.2631, allocations: 364 kB / 0.9601 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.2631, allocations: 4 kB / 0.9601 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005485/0.2637, allocations: 424.7 kB / 0.9605 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.2637, allocations: 4 kB / 0.9605 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2637, allocations: 4 kB / 0.9605 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2637, allocations: 8 kB / 0.9605 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.2639, allocations: 63.84 kB / 0.9606 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.2639, allocations: 8 kB / 0.9606 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.2641, allocations: 44.14 kB / 0.9606 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.2642, allocations: 16 kB / 0.9607 GB, free: 13.89 MB / 0.7481 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,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],pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001874/0.2643, allocations: 181.8 kB / 0.9608 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.2644, allocations: 31.7 kB / 0.9609 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.981e-05/0.2644, allocations: 17.88 kB / 0.9609 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2644, allocations: 0 / 0.9609 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2644, allocations: 3.938 kB / 0.9609 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2645, allocations: 3.984 kB / 0.9609 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008862/0.2653, allocations: 0.6822 MB / 0.9616 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2654, allocations: 0 / 0.9616 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.427e-05/0.2655, allocations: 12 kB / 0.9616 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2655, allocations: 4 kB / 0.9616 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.2655, allocations: 15.98 kB / 0.9616 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2655, allocations: 0 / 0.9616 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2655, allocations: 0 / 0.9616 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006358/0.2662, allocations: 0.5059 MB / 0.9621 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.2662, allocations: 96.77 kB / 0.9622 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.2663, allocations: 20.03 kB / 0.9622 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.2664, allocations: 24.16 kB / 0.9622 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.2665, allocations: 19.97 kB / 0.9622 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.2665, allocations: 12 kB / 0.9622 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.851e-05/0.2666, allocations: 132.3 kB / 0.9624 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2666, allocations: 0 / 0.9624 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003889/0.267, allocations: 111.9 kB / 0.9625 GB, free: 11.94 MB / 0.7481 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 (25): * Single equations (assignments): 11 * 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.0005975/0.2676, allocations: 331.4 kB / 0.9628 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004293/0.2681, allocations: 281.3 kB / 0.9631 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2681, allocations: 0 / 0.9631 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.2683, allocations: 107.9 kB / 0.9632 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.2685, allocations: 23.92 kB / 0.9632 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007435/0.2693, allocations: 493.3 kB / 0.9637 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.2697, allocations: 0.7478 MB / 0.9644 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.2698, allocations: 50.25 kB / 0.9644 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.2699, allocations: 23.42 kB / 0.9645 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.2699, allocations: 0 / 0.9645 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of Templates: time 0.006001/0.2759, allocations: 3.229 MB / 0.9676 GB, free: 6.695 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches