Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.002009/0.002009, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002261/0.002261, allocations: 193.7 kB / 16.14 MB, free: 6.711 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.499/1.499, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.733/2.733, allocations: 437 MB / 0.71 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 71.88 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6046/0.6065, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003718/0.6103, allocations: 1.831 MB / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.613, allocations: 1.592 MB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.131e-05/0.6131, allocations: 7.875 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.6132, allocations: 27.84 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.6134, allocations: 11.86 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.614, allocations: 191.6 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.6143, allocations: 231.4 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.6145, allocations: 49.91 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.6146, allocations: 83.73 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.6148, allocations: 79.67 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.6148, allocations: 8 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003767/0.6152, allocations: 191.7 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.6153, allocations: 67.81 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.6155, allocations: 95.45 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004776/0.6159, allocations: 357 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.616, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.616, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.616, allocations: 4 kB / 1.021 GB, free: 13.94 MB / 0.7794 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.001115/0.6171, allocations: 0.5769 MB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.6171, allocations: 12.03 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.938e-05/0.6172, allocations: 24.66 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.6176, allocations: 245.6 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.6176, allocations: 16.69 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.239e-05/0.6177, allocations: 27.94 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.6181, allocations: 212.1 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.6181, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.6181, allocations: 4 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.6181, allocations: 4 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.6184, allocations: 120.2 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.6198, allocations: 0.5859 MB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008476/0.6206, allocations: 278.4 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.6208, allocations: 100.7 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.6208, allocations: 4 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003643/0.6212, allocations: 167.2 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.794e-06/0.6212, allocations: 4 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.0007771/0.622, allocations: 385.5 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.6221, allocations: 63.41 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.6223, allocations: 187 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.719e-05/0.6223, allocations: 45.7 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.6224, allocations: 128.6 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.451e-05/0.6225, allocations: 75.08 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.6226, allocations: 78.12 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.6228, allocations: 346.8 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.623, allocations: 112.8 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.6234, allocations: 248.5 kB / 1.025 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00052/0.6239, allocations: 364 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.6239, allocations: 0 / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006831/0.6246, allocations: 416.8 kB / 1.026 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.6246, allocations: 8 kB / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.6246, allocations: 7.984 kB / 1.026 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.6247, allocations: 8 kB / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.6249, allocations: 55.86 kB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/0.6249, allocations: 7.984 kB / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.6251, allocations: 48.14 kB / 1.026 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.6251, allocations: 20 kB / 1.026 GB, free: 8.695 MB / 0.7794 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.0002109/0.6254, allocations: 184.2 kB / 1.026 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.6254, allocations: 23.72 kB / 1.026 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.839e-05/0.6255, allocations: 21.86 kB / 1.026 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.6255, allocations: 4 kB / 1.026 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.6255, allocations: 0 / 1.026 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6255, allocations: 0 / 1.026 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.6266, allocations: 0.6776 MB / 1.027 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6266, allocations: 192 / 1.027 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.6267, allocations: 27.98 kB / 1.027 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.6267, allocations: 0 / 1.027 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.6267, allocations: 11.98 kB / 1.027 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.6267, allocations: 0 / 1.027 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.6268, allocations: 0 / 1.027 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007789/0.6275, allocations: 0.5122 MB / 1.028 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.292e-05/0.6276, allocations: 104.7 kB / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.6277, allocations: 16.03 kB / 1.028 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.6279, allocations: 23.97 kB / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.6279, allocations: 19.98 kB / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.628, allocations: 11.98 kB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001118/0.6281, allocations: 128.3 kB / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6281, allocations: 0 / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004516/0.6285, allocations: 103.9 kB / 1.028 GB, free: 6.742 MB / 0.7794 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.0008788/0.6294, allocations: 328.4 kB / 1.028 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005329/0.63, allocations: 281.7 kB / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.63, allocations: 0 / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.6302, allocations: 103.9 kB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.6305, allocations: 23.97 kB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009292/0.6314, allocations: 0.5507 MB / 1.029 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.6318, allocations: 0.7365 MB / 1.03 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001399/0.632, allocations: 54.25 kB / 1.03 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.315e-05/0.6321, allocations: 23.44 kB / 1.03 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.6321, allocations: 3.938 kB / 1.03 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of Templates: time 0.007152/0.6392, allocations: 3.108 MB / 1.033 GB, free: 1.555 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches