Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00152/0.00152, 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.002174/0.002174, allocations: 195.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.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.753/2.753, allocations: 461.8 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001427, allocations: 64.59 kB / 0.8984 GB, free: 37.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3489, allocations: 157.4 MB / 1.052 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003512/0.3525, allocations: 1.869 MB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002364/0.3548, allocations: 1.603 MB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.802e-05/0.355, allocations: 3.938 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.3552, allocations: 19.86 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.3553, allocations: 15.86 kB / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006062/0.3559, allocations: 195.5 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.3563, allocations: 231.6 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.3564, allocations: 49.53 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.3566, allocations: 95.69 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.3568, allocations: 79.66 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.3568, allocations: 8 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003761/0.3572, allocations: 187.7 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.3573, allocations: 83.78 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.969e-05/0.3574, allocations: 87.47 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004321/0.3579, allocations: 375.3 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3579, allocations: 0 / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3579, allocations: 0 / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3579, allocations: 0 / 1.057 GB, free: 3.996 MB / 0.8106 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.00091/0.3588, allocations: 0.5533 MB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3589, allocations: 12.03 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.483e-05/0.3589, allocations: 24.66 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.3593, allocations: 253.5 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.3593, allocations: 20.31 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.517e-05/0.3594, allocations: 31.92 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.3598, allocations: 205.3 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3598, allocations: 0 / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.3598, allocations: 4 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.3598, allocations: 8 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/0.3601, allocations: 119.7 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.3614, allocations: 0.5898 MB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.3618, allocations: 204 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.362, allocations: 100.8 kB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.362, allocations: 4.094 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003782/0.3624, allocations: 176.3 kB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=27): time 2.013e-06/0.3624, allocations: 3.938 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27): time 0.0007242/0.3631, allocations: 387.8 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.3632, allocations: 75.38 kB / 1.06 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.3634, allocations: 182.6 kB / 1.06 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.3634, allocations: 45.69 kB / 1.06 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.372e-05/0.3635, allocations: 128.9 kB / 1.06 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.681e-05/0.3636, allocations: 79 kB / 1.06 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.3637, allocations: 82.12 kB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3639, allocations: 334.8 kB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.3641, allocations: 116.8 kB / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/0.3645, allocations: 253.5 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005326/0.365, allocations: 376 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.445e-06/0.365, allocations: 7.938 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006164/0.3657, allocations: 417.1 kB / 1.061 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.3657, allocations: 12.06 kB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3657, allocations: 7.984 kB / 1.061 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.3657, allocations: 11.98 kB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.366, allocations: 55.92 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.366, allocations: 15.92 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.3661, allocations: 31.69 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.3662, allocations: 20 kB / 1.062 GB, free: 14.79 MB / 0.8262 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.0002039/0.3664, allocations: 188.2 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.3664, allocations: 15.81 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.078e-05/0.3665, allocations: 26.56 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3665, allocations: 0 / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3665, allocations: 0 / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3665, allocations: 3.984 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.3676, allocations: 0.6895 MB / 1.063 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3676, allocations: 0 / 1.063 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.3677, allocations: 19.98 kB / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3677, allocations: 0 / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.3677, allocations: 15.92 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3678, allocations: 0 / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3678, allocations: 4 kB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007473/0.3685, allocations: 0.5209 MB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.3686, allocations: 96.86 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.974e-05/0.3686, allocations: 20.03 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.3688, allocations: 11.98 kB / 1.063 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.3688, allocations: 20.06 kB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.3689, allocations: 11.98 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001024/0.369, allocations: 132.2 kB / 1.063 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.369, allocations: 0 / 1.063 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004694/0.3695, allocations: 115.8 kB / 1.063 GB, free: 12.81 MB / 0.8262 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.000763/0.3702, allocations: 337.2 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00052/0.3708, allocations: 279.6 kB / 1.064 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3708, allocations: 0 / 1.064 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.371, allocations: 106.1 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.3713, allocations: 30.23 kB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009513/0.3723, allocations: 0.5527 MB / 1.065 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.3726, allocations: 0.7482 MB / 1.065 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001411/0.3728, allocations: 58.39 kB / 1.065 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.3728, allocations: 23.42 kB / 1.066 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/0.3728, allocations: 4 kB / 1.066 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of Templates: time 0.007338/0.3802, allocations: 3.109 MB / 1.069 GB, free: 7.59 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches