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.001464/0.001464, allocations: 102.9 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.001616/0.001616, allocations: 196.8 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.16 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 2.185/2.185, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 64.58 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2668, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003283/0.2701, allocations: 1.77 MB / 0.9528 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.2723, allocations: 1.615 MB / 0.9544 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.37e-05/0.2724, allocations: 0 / 0.9544 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.2725, allocations: 35.7 kB / 0.9545 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.642e-05/0.2727, allocations: 11.88 kB / 0.9545 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005995/0.2733, allocations: 239.2 kB / 0.9547 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.2736, allocations: 239.5 kB / 0.9549 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.2738, allocations: 65.81 kB / 0.955 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.2739, allocations: 87.75 kB / 0.9551 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.2741, allocations: 75.67 kB / 0.9551 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.2741, allocations: 12 kB / 0.9552 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003842/0.2745, allocations: 215.6 kB / 0.9554 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.2746, allocations: 79.8 kB / 0.9554 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.308e-05/0.2747, allocations: 91.53 kB / 0.9555 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004561/0.2752, allocations: 383 kB / 0.9559 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2752, allocations: 0 / 0.9559 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2752, allocations: 0 / 0.9559 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.2752, allocations: 0 / 0.9559 GB, free: 3.121 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.001018/0.2762, allocations: 0.5653 MB / 0.9564 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2763, allocations: 8.031 kB / 0.9564 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.042e-05/0.2764, allocations: 32.59 kB / 0.9565 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.2767, allocations: 243.4 kB / 0.9567 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.2767, allocations: 24.69 kB / 0.9567 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/0.2768, allocations: 23.94 kB / 0.9568 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/0.2771, allocations: 204.1 kB / 0.957 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2772, allocations: 4 kB / 0.957 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.2772, allocations: 8 kB / 0.957 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.2772, allocations: 4 kB / 0.957 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.2774, allocations: 120.5 kB / 0.9571 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.2787, allocations: 0.5859 MB / 0.9577 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/0.2795, allocations: 274.4 kB / 0.9579 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.2797, allocations: 100.8 kB / 0.958 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.2797, allocations: 4 kB / 0.958 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002802/0.28, allocations: 171.5 kB / 0.9582 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 1.934e-06/0.28, allocations: 0 / 0.9582 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.0006549/0.2807, allocations: 383.7 kB / 0.9585 GB, free: 236 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.2808, allocations: 71.38 kB / 0.9586 GB, free: 152 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.2809, allocations: 178.8 kB / 0.9588 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.281, allocations: 49.69 kB / 0.9588 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.2811, allocations: 124.6 kB / 0.9589 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.448e-05/0.2811, allocations: 75 kB / 0.959 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.646e-05/0.2813, allocations: 82.12 kB / 0.9591 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2814, allocations: 334.8 kB / 0.9594 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.2816, allocations: 120.8 kB / 0.9595 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/0.2819, allocations: 248.5 kB / 0.9598 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004496/0.2823, allocations: 360 kB / 0.9601 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.2823, allocations: 4 kB / 0.9601 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005885/0.2829, allocations: 416.9 kB / 0.9605 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.283, allocations: 8 kB / 0.9605 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.283, allocations: 4 kB / 0.9605 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.283, allocations: 8 kB / 0.9605 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.2832, allocations: 63.84 kB / 0.9606 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.2832, allocations: 8 kB / 0.9606 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.2834, allocations: 43.94 kB / 0.9606 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.2835, allocations: 20 kB / 0.9607 GB, free: 13.88 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.0001626/0.2836, allocations: 180.2 kB / 0.9608 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.2837, allocations: 23.8 kB / 0.9609 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.934e-05/0.2837, allocations: 21.81 kB / 0.9609 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2837, allocations: 8 kB / 0.9609 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.2837, allocations: 0 / 0.9609 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2837, allocations: 7.922 kB / 0.9609 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009238/0.2847, allocations: 0.6783 MB / 0.9616 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2847, allocations: 4 kB / 0.9616 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.2848, allocations: 12 kB / 0.9616 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2848, allocations: 0 / 0.9616 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.2848, allocations: 11.98 kB / 0.9616 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2848, allocations: 192 / 0.9616 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2849, allocations: 12 kB / 0.9616 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006711/0.2855, allocations: 0.5057 MB / 0.9621 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.2856, allocations: 96.77 kB / 0.9622 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.495e-05/0.2857, allocations: 20.03 kB / 0.9622 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.2858, allocations: 19.97 kB / 0.9622 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.2859, allocations: 23.97 kB / 0.9622 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.2859, allocations: 12 kB / 0.9623 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.723e-05/0.286, allocations: 128.3 kB / 0.9624 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.286, allocations: 0 / 0.9624 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004231/0.2864, allocations: 107.9 kB / 0.9625 GB, free: 11.93 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.0006317/0.2871, allocations: 343.2 kB / 0.9628 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004743/0.2876, allocations: 277.5 kB / 0.9631 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2876, allocations: 0 / 0.9631 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.2878, allocations: 107.8 kB / 0.9632 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.2881, allocations: 26.05 kB / 0.9632 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008594/0.289, allocations: 485.1 kB / 0.9637 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.2893, allocations: 0.7517 MB / 0.9644 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001315/0.2894, allocations: 50.25 kB / 0.9644 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.2895, allocations: 27.42 kB / 0.9645 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of SimCode: time 2.71e-07/0.2895, allocations: 0 / 0.9645 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of Templates: time 0.006422/0.2959, allocations: 3.209 MB / 0.9676 GB, free: 6.699 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 gbode -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