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.001175/0.001175, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 194.2 kB / 16.63 MB, free: 6.609 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.356/1.356, allocations: 222.9 MB / 240.3 MB, free: 4.328 MB / 190.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.389/2.389, allocations: 390.3 MB / 0.6648 GB, free: 116 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 69.69 kB / 0.9509 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3499, allocations: 140.4 MB / 1.088 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003218/0.3532, allocations: 1.764 MB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002304/0.3555, allocations: 1.596 MB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.781e-05/0.3556, allocations: 7.938 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.3559, allocations: 27.78 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.356, allocations: 15.8 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006522/0.3566, allocations: 235.3 kB / 1.092 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002855/0.3569, allocations: 251.4 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.3571, allocations: 65.81 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.3572, allocations: 87.75 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.3574, allocations: 79.67 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.3574, allocations: 12 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.3578, allocations: 215.7 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.3579, allocations: 79.75 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.498e-05/0.358, allocations: 95.52 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004321/0.3585, allocations: 379 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3585, allocations: 0 / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3585, allocations: 0 / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.3585, allocations: 0 / 1.093 GB, free: 12.5 MB / 0.8575 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.0009367/0.3594, allocations: 0.5654 MB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3595, allocations: 8.031 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.763e-05/0.3595, allocations: 24.66 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.3598, allocations: 247.9 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.3599, allocations: 24.69 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.911e-05/0.3599, allocations: 31.88 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.3603, allocations: 208.1 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3603, allocations: 0 / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.3603, allocations: 4 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3603, allocations: 4 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.3606, allocations: 124.5 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.3618, allocations: 0.5782 MB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007934/0.3626, allocations: 286.3 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.3628, allocations: 96.75 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.3628, allocations: 4 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002957/0.3631, allocations: 163.9 kB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.3631, allocations: 4 kB / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26): time 0.0007046/0.3638, allocations: 393.8 kB / 1.095 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.3639, allocations: 67.39 kB / 1.095 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.364, allocations: 178.6 kB / 1.096 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.123e-05/0.3641, allocations: 49.69 kB / 1.096 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.109e-05/0.3642, allocations: 124.5 kB / 1.096 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.406e-05/0.3642, allocations: 79.08 kB / 1.096 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.77e-05/0.3643, allocations: 78.12 kB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3645, allocations: 342.8 kB / 1.096 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.3647, allocations: 112.8 kB / 1.096 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.3649, allocations: 248.5 kB / 1.097 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004458/0.3654, allocations: 360 kB / 1.097 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3654, allocations: 0 / 1.097 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000603/0.366, allocations: 428.8 kB / 1.097 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.366, allocations: 8 kB / 1.097 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3661, allocations: 7.938 kB / 1.097 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.3661, allocations: 4 kB / 1.097 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.3663, allocations: 59.91 kB / 1.097 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.3663, allocations: 15.92 kB / 1.097 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.3665, allocations: 44.11 kB / 1.097 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.3665, allocations: 16 kB / 1.098 GB, free: 7.246 MB / 0.8575 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.0001678/0.3667, allocations: 180.2 kB / 1.098 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.3667, allocations: 31.64 kB / 1.098 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/0.3668, allocations: 21.88 kB / 1.098 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3668, allocations: 0 / 1.098 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3668, allocations: 4 kB / 1.098 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3668, allocations: 3.984 kB / 1.098 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.3678, allocations: 0.6704 MB / 1.098 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3678, allocations: 0 / 1.098 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.849e-05/0.368, allocations: 15.94 kB / 1.098 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.368, allocations: 4 kB / 1.098 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.368, allocations: 15.98 kB / 1.098 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.368, allocations: 0 / 1.098 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.368, allocations: 0 / 1.098 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006703/0.3687, allocations: 0.5152 MB / 1.099 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.3687, allocations: 96.86 kB / 1.099 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/0.3688, allocations: 12.03 kB / 1.099 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.369, allocations: 23.97 kB / 1.099 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.369, allocations: 23.91 kB / 1.099 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.3691, allocations: 15.94 kB / 1.099 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.744e-05/0.3692, allocations: 128.3 kB / 1.099 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3692, allocations: 0 / 1.099 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004359/0.3696, allocations: 111.8 kB / 1.099 GB, free: 5.293 MB / 0.8575 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.0006468/0.3703, allocations: 325.7 kB / 1.1 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004612/0.3707, allocations: 271.6 kB / 1.1 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3707, allocations: 0 / 1.1 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.3709, allocations: 111.9 kB / 1.1 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.3712, allocations: 24.36 kB / 1.1 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008209/0.3721, allocations: 489.3 kB / 1.1 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.3724, allocations: 0.7479 MB / 1.101 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001234/0.3725, allocations: 54.23 kB / 1.101 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.3726, allocations: 23.42 kB / 1.101 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3726, allocations: 3.938 kB / 1.101 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of Templates: time 0.00677/0.3794, allocations: 3.219 MB / 1.104 GB, free: 64 kB / 0.8575 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 -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/jenkins/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