Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.674/1.674, allocations: 306.1 MB / 321.3 MB, free: 10.75 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009597/0.0009597, allocations: 183.5 kB / 393.1 MB, free: 4.082 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000713/0.000713, allocations: 101.6 kB / 0.7935 GB, free: 40 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003363, allocations: 8 kB / 0.9224 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5483/0.5486, allocations: 121.3 MB / 1.041 GB, free: 58.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.001641/0.5503, allocations: 1.455 MB / 1.042 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.552, allocations: 1.92 MB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.5521, allocations: 2.156 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.5522, allocations: 25.47 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.5524, allocations: 18.83 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.5528, allocations: 193.3 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.5531, allocations: 226.5 kB / 1.045 GB, free: 55.71 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.5532, allocations: 51.17 kB / 1.045 GB, free: 55.7 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.5533, allocations: 83.56 kB / 1.045 GB, free: 55.66 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.5534, allocations: 63.91 kB / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.5535, allocations: 4.625 kB / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002755/0.5537, allocations: 164.2 kB / 1.045 GB, free: 55.59 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.708e-05/0.5538, allocations: 77.23 kB / 1.045 GB, free: 55.56 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.952e-05/0.5539, allocations: 106.7 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.5543, allocations: 366 kB / 1.045 GB, free: 55.37 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.5543, allocations: 0 / 1.045 GB, free: 55.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5543, allocations: 3.094 kB / 1.045 GB, free: 55.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.5543, allocations: 0 / 1.045 GB, free: 55.37 MB / 0.698 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.0007229/0.555, allocations: 0.5293 MB / 1.046 GB, free: 54.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.5551, allocations: 10.22 kB / 1.046 GB, free: 54.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.5551, allocations: 22.75 kB / 1.046 GB, free: 54.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.5553, allocations: 244.2 kB / 1.046 GB, free: 54.67 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.5554, allocations: 20.5 kB / 1.046 GB, free: 54.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.5554, allocations: 25.05 kB / 1.046 GB, free: 54.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.5557, allocations: 208.7 kB / 1.047 GB, free: 54.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.5557, allocations: 1.156 kB / 1.047 GB, free: 54.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.5558, allocations: 6.625 kB / 1.047 GB, free: 54.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.5558, allocations: 5.031 kB / 1.047 GB, free: 54.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/0.556, allocations: 129.7 kB / 1.047 GB, free: 54.53 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.5572, allocations: 0.5987 MB / 1.047 GB, free: 54.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007559/0.5579, allocations: 302.4 kB / 1.048 GB, free: 54.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.5581, allocations: 101.9 kB / 1.048 GB, free: 54.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.5581, allocations: 2.031 kB / 1.048 GB, free: 54.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002578/0.5584, allocations: 174 kB / 1.048 GB, free: 53.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 2.194e-06/0.5584, allocations: 1.5 kB / 1.048 GB, free: 53.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.0005873/0.559, allocations: 385.9 kB / 1.048 GB, free: 53.83 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.559, allocations: 68.56 kB / 1.048 GB, free: 53.76 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.5591, allocations: 178.4 kB / 1.048 GB, free: 53.63 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.5592, allocations: 52.59 kB / 1.048 GB, free: 53.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.5592, allocations: 124.1 kB / 1.049 GB, free: 53.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.5593, allocations: 77.14 kB / 1.049 GB, free: 53.42 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.32e-05/0.5593, allocations: 10.31 kB / 1.049 GB, free: 53.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.896e-05/0.5593, allocations: 332.6 kB / 1.049 GB, free: 53.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.5595, allocations: 115.6 kB / 1.049 GB, free: 53.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.5597, allocations: 253.5 kB / 1.049 GB, free: 52.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/0.5601, allocations: 365 kB / 1.05 GB, free: 52.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.5602, allocations: 1.312 kB / 1.05 GB, free: 52.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005237/0.5607, allocations: 416.5 kB / 1.05 GB, free: 52.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.5607, allocations: 11.88 kB / 1.05 GB, free: 52.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.5607, allocations: 4.75 kB / 1.05 GB, free: 52.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.5607, allocations: 6.219 kB / 1.05 GB, free: 52.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.5609, allocations: 64.78 kB / 1.05 GB, free: 52.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.561, allocations: 7.172 kB / 1.05 GB, free: 52.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.5611, allocations: 51.28 kB / 1.05 GB, free: 52.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.5612, allocations: 21.84 kB / 1.05 GB, free: 52.38 MB / 0.698 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 ($PRE.pyt.firstTrigger,pyt.firstTrigger,$PRE.pyt.yR[2],pyt.yR[2],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[4],pyt.uRIntPre[4],$PRE.pyt.uRWri[1],pyt.uRWri[1],$PRE.pyt.uRWri_temp[1],pyt.uRWri_temp[1],$PRE.pyt.uRWri[4],pyt.uRWri[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri_temp[4],$whenCondition1,pyt.sampleTrigger,$PRE.pyt.yR[1],pyt.yR[1],$PRE.pyt.uRWri[3],pyt.uRWri[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri_temp[3],$PRE.onOffCon.y,onOffCon.y,$PRE.pyt.uRWri[2],pyt.uRWri[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri_temp[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.000127/0.5613, allocations: 185.2 kB / 1.05 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.5613, allocations: 18.12 kB / 1.05 GB, free: 52.22 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/0.5614, allocations: 20.27 kB / 1.05 GB, free: 52.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5614, allocations: 6.625 kB / 1.05 GB, free: 52.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5614, allocations: 2.375 kB / 1.05 GB, free: 52.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.5614, allocations: 3.938 kB / 1.05 GB, free: 52.21 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007923/0.5622, allocations: 0.6788 MB / 1.051 GB, free: 51.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5622, allocations: 0 / 1.051 GB, free: 51.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.841e-05/0.5623, allocations: 19.72 kB / 1.051 GB, free: 51.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.5623, allocations: 0 / 1.051 GB, free: 51.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.5623, allocations: 16.67 kB / 1.051 GB, free: 51.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5623, allocations: 1.094 kB / 1.051 GB, free: 51.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5624, allocations: 0 / 1.051 GB, free: 51.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005845/0.5629, allocations: 0.5131 MB / 1.052 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.563, allocations: 95.19 kB / 1.052 GB, free: 51.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.563, allocations: 22.17 kB / 1.052 GB, free: 51.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.5632, allocations: 21.33 kB / 1.052 GB, free: 51.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.5632, allocations: 22.2 kB / 1.052 GB, free: 51.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.5633, allocations: 11.12 kB / 1.052 GB, free: 51.42 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.547e-05/0.5634, allocations: 130.7 kB / 1.052 GB, free: 51.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5634, allocations: 3.938 kB / 1.052 GB, free: 51.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003772/0.5637, allocations: 111.5 kB / 1.052 GB, free: 51.29 MB / 0.698 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.0005901/0.5643, allocations: 385.8 kB / 1.052 GB, free: 51.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004051/0.5648, allocations: 268.4 kB / 1.053 GB, free: 51.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5648, allocations: 0 / 1.053 GB, free: 51.04 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.5649, allocations: 110.9 kB / 1.053 GB, free: 51.01 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.5652, allocations: 20.33 kB / 1.053 GB, free: 51 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006707/0.5659, allocations: 0.5594 MB / 1.053 GB, free: 50.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.5661, allocations: 0.7523 MB / 1.054 GB, free: 49.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001178/0.5662, allocations: 48.89 kB / 1.054 GB, free: 49.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.5662, allocations: 21.69 kB / 1.054 GB, free: 49.94 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.5662, allocations: 0 / 1.054 GB, free: 49.94 MB / 0.698 GB Notification: Performance of Templates: time 0.006211/0.5724, allocations: 3.086 MB / 1.057 GB, free: 49.68 MB / 0.698 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 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1)