Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.878/1.878, allocations: 297.4 MB / 312.6 MB, free: 2.914 MB / 234.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.001186/0.001186, allocations: 189.5 kB / 382.3 MB, free: 14.82 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.76/1.76, allocations: 225.7 MB / 0.6617 GB, free: 7.227 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007361/0.0007362, allocations: 96.27 kB / 0.7789 GB, free: 46.79 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003624, allocations: 8.688 kB / 0.9059 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6455/0.6459, allocations: 119.2 MB / 1.022 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.002903/0.6488, allocations: 1.594 MB / 1.024 GB, free: 57 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001844/0.6507, allocations: 1.177 MB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.6508, allocations: 3.375 kB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004822/0.6513, allocations: 103.3 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.6516, allocations: 85.42 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.652, allocations: 133.3 kB / 1.025 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.6522, allocations: 187.3 kB / 1.025 GB, free: 55.99 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.6524, allocations: 43.61 kB / 1.026 GB, free: 55.98 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.6525, allocations: 75.17 kB / 1.026 GB, free: 55.95 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.6527, allocations: 85.83 kB / 1.026 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.6527, allocations: 3.969 kB / 1.026 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.6528, allocations: 57.39 kB / 1.026 GB, free: 55.89 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.419e-05/0.6529, allocations: 47.3 kB / 1.026 GB, free: 55.88 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.754e-05/0.653, allocations: 101.3 kB / 1.026 GB, free: 55.79 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000353/0.6534, allocations: 255 kB / 1.026 GB, free: 55.71 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.6534, allocations: 1.531 kB / 1.026 GB, free: 55.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.485e-06/0.6534, allocations: 0 / 1.026 GB, free: 55.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.6534, allocations: 3.938 kB / 1.026 GB, free: 55.71 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007664/0.6542, allocations: 0.5005 MB / 1.027 GB, free: 55.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.6543, allocations: 12.39 kB / 1.027 GB, free: 55.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/0.6543, allocations: 20.72 kB / 1.027 GB, free: 55.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.6547, allocations: 305.8 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.6547, allocations: 6.469 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.6547, allocations: 11.12 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.6549, allocations: 85.64 kB / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.6549, allocations: 1.359 kB / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.6549, allocations: 0 / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.6549, allocations: 2.719 kB / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.6551, allocations: 40.84 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006313/0.6557, allocations: 428.8 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.6559, allocations: 81.83 kB / 1.028 GB, free: 54.54 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.47e-05/0.656, allocations: 38.34 kB / 1.028 GB, free: 54.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.656, allocations: 9.141 kB / 1.028 GB, free: 54.51 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.6562, allocations: 75.22 kB / 1.028 GB, free: 54.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.6562, allocations: 4.5 kB / 1.028 GB, free: 54.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003076/0.6565, allocations: 134.1 kB / 1.028 GB, free: 54.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.6566, allocations: 53.03 kB / 1.028 GB, free: 54.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.6569, allocations: 361.4 kB / 1.028 GB, free: 54.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.6569, allocations: 34.23 kB / 1.028 GB, free: 54.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.657, allocations: 133.4 kB / 1.028 GB, free: 53.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.6571, allocations: 27.16 kB / 1.028 GB, free: 53.97 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/0.6571, allocations: 4.688 kB / 1.028 GB, free: 53.97 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.505e-05/0.6572, allocations: 333.5 kB / 1.029 GB, free: 53.65 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.6573, allocations: 55.86 kB / 1.029 GB, free: 53.63 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.6574, allocations: 85.41 kB / 1.029 GB, free: 53.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.6575, allocations: 93.39 kB / 1.029 GB, free: 53.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.6576, allocations: 0 / 1.029 GB, free: 53.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002779/0.6578, allocations: 187.3 kB / 1.029 GB, free: 53.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.6579, allocations: 7.844 kB / 1.029 GB, free: 53.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.6579, allocations: 0.5625 kB / 1.029 GB, free: 53.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.6579, allocations: 8.969 kB / 1.029 GB, free: 53.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.658, allocations: 26.52 kB / 1.029 GB, free: 53.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.658, allocations: 2.031 kB / 1.029 GB, free: 53.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.939e-05/0.6581, allocations: 15.36 kB / 1.029 GB, free: 53.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.6582, allocations: 4.812 kB / 1.029 GB, free: 53.44 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,gre.y,$PRE.greHys.greHys.y,greHys.greHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001233/0.6583, allocations: 155.4 kB / 1.029 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.6584, allocations: 23.84 kB / 1.029 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.164e-05/0.6584, allocations: 29.06 kB / 1.029 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.6584, allocations: 6.844 kB / 1.029 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.6584, allocations: 0 / 1.029 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.6584, allocations: 0.6094 kB / 1.029 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.6586, allocations: 239.9 kB / 1.03 GB, free: 53.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6586, allocations: 0 / 1.03 GB, free: 53.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.273e-05/0.6586, allocations: 2.156 kB / 1.03 GB, free: 53.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.6587, allocations: 1.969 kB / 1.03 GB, free: 53.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.6587, allocations: 5.969 kB / 1.03 GB, free: 53.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.6587, allocations: 5 kB / 1.03 GB, free: 53.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.6587, allocations: 0 / 1.03 GB, free: 53.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.6589, allocations: 142.9 kB / 1.03 GB, free: 52.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.659, allocations: 104.9 kB / 1.03 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.659, allocations: 2.062 kB / 1.03 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.478e-05/0.6591, allocations: 19.09 kB / 1.03 GB, free: 52.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.6591, allocations: 10.33 kB / 1.03 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.6592, allocations: 10.27 kB / 1.03 GB, free: 52.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002112/0.6594, allocations: 229.7 kB / 1.03 GB, free: 52.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6594, allocations: 0 / 1.03 GB, free: 52.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002355/0.6596, allocations: 37.19 kB / 1.03 GB, free: 52.69 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,greHys.greHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000996/0.6606, allocations: 483.6 kB / 1.031 GB, free: 52.47 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.6609, allocations: 101.2 kB / 1.031 GB, free: 52.44 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6609, allocations: 0 / 1.031 GB, free: 52.44 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.723e-05/0.661, allocations: 37.36 kB / 1.031 GB, free: 52.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.6613, allocations: 48.91 kB / 1.031 GB, free: 52.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005811/0.6619, allocations: 426 kB / 1.031 GB, free: 52.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.6621, allocations: 0.7508 MB / 1.032 GB, free: 51.42 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.6622, allocations: 28.95 kB / 1.032 GB, free: 51.42 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.6623, allocations: 21.45 kB / 1.032 GB, free: 51.41 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.6623, allocations: 0 / 1.032 GB, free: 51.41 MB / 0.698 GB Notification: Performance of Templates: time 0.005559/0.6679, allocations: 2.608 MB / 1.035 GB, free: 51.21 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)