Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.856/1.856, allocations: 306.1 MB / 321.4 MB, free: 10.73 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.001096/0.001096, allocations: 178.7 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.534/1.534, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.0008126/0.0008128, allocations: 90.98 kB / 0.7935 GB, free: 39.93 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003849, allocations: 12 kB / 0.9224 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6386/0.639, allocations: 121.3 MB / 1.041 GB, free: 57.99 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.00233/0.6414, allocations: 1.606 MB / 1.042 GB, free: 56.9 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.643, allocations: 1.175 MB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.6431, allocations: 1.938 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004672/0.6436, allocations: 97.75 kB / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.6439, allocations: 88.11 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.6443, allocations: 127.6 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.6445, allocations: 189.1 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.6447, allocations: 44.38 kB / 1.044 GB, free: 55.78 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.6448, allocations: 72.31 kB / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.6449, allocations: 87.56 kB / 1.044 GB, free: 55.72 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.6449, allocations: 10.69 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.6451, allocations: 52.05 kB / 1.044 GB, free: 55.7 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.512e-05/0.6452, allocations: 51 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.98e-05/0.6453, allocations: 102.1 kB / 1.044 GB, free: 55.59 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.6456, allocations: 260.1 kB / 1.045 GB, free: 55.51 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.6456, allocations: 1.469 kB / 1.045 GB, free: 55.51 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6456, allocations: 0.7188 kB / 1.045 GB, free: 55.51 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.6456, allocations: 0 / 1.045 GB, free: 55.51 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.0007147/0.6463, allocations: 0.5051 MB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.6464, allocations: 10.56 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.6464, allocations: 22.41 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.6468, allocations: 300.6 kB / 1.046 GB, free: 54.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.6469, allocations: 8.344 kB / 1.046 GB, free: 54.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.6469, allocations: 11.06 kB / 1.046 GB, free: 54.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.6471, allocations: 77.61 kB / 1.046 GB, free: 54.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.6471, allocations: 0 / 1.046 GB, free: 54.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.6471, allocations: 5.156 kB / 1.046 GB, free: 54.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.6471, allocations: 4.125 kB / 1.046 GB, free: 54.72 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.6472, allocations: 36.98 kB / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005818/0.6478, allocations: 429.7 kB / 1.046 GB, free: 54.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.648, allocations: 83.66 kB / 1.046 GB, free: 54.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.94e-05/0.6481, allocations: 28.7 kB / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.6481, allocations: 5.781 kB / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.6483, allocations: 83.02 kB / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.6483, allocations: 0 / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003041/0.6486, allocations: 131.9 kB / 1.046 GB, free: 54.19 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.6487, allocations: 52.06 kB / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.649, allocations: 365.6 kB / 1.047 GB, free: 53.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.649, allocations: 26.92 kB / 1.047 GB, free: 53.92 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.982e-05/0.6491, allocations: 143.1 kB / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.6491, allocations: 22.48 kB / 1.047 GB, free: 53.78 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-06/0.6492, allocations: 4.812 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.6492, allocations: 334.4 kB / 1.047 GB, free: 53.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.844e-05/0.6493, allocations: 57.89 kB / 1.047 GB, free: 53.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.6495, allocations: 85.94 kB / 1.047 GB, free: 53.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.6496, allocations: 91.61 kB / 1.048 GB, free: 53.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.6496, allocations: 0 / 1.048 GB, free: 53.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002761/0.6499, allocations: 189.8 kB / 1.048 GB, free: 53.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.6499, allocations: 6.594 kB / 1.048 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.6499, allocations: 0 / 1.048 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.6499, allocations: 7.406 kB / 1.048 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.6501, allocations: 23.7 kB / 1.048 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.6501, allocations: 5.344 kB / 1.048 GB, free: 53.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.6502, allocations: 16.33 kB / 1.048 GB, free: 53.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.6502, allocations: 14.53 kB / 1.048 GB, free: 53.23 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.0001148/0.6504, allocations: 150.7 kB / 1.048 GB, free: 53.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.6504, allocations: 22.59 kB / 1.048 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.383e-05/0.6505, allocations: 27.09 kB / 1.048 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.6505, allocations: 7.938 kB / 1.048 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.6505, allocations: 0 / 1.048 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.6505, allocations: 2.109 kB / 1.048 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.6507, allocations: 242.5 kB / 1.048 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6507, allocations: 0 / 1.048 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.348e-05/0.6507, allocations: 3.359 kB / 1.048 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.6507, allocations: 2.906 kB / 1.048 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.6507, allocations: 2.484 kB / 1.048 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.6507, allocations: 3.938 kB / 1.048 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6507, allocations: 0 / 1.048 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.651, allocations: 150.5 kB / 1.048 GB, free: 52.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.651, allocations: 97.92 kB / 1.048 GB, free: 52.63 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.651, allocations: 5.719 kB / 1.048 GB, free: 52.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.011e-05/0.6511, allocations: 15.2 kB / 1.048 GB, free: 52.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.6512, allocations: 10.77 kB / 1.049 GB, free: 52.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.6512, allocations: 2.562 kB / 1.049 GB, free: 52.62 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001834/0.6514, allocations: 233.5 kB / 1.049 GB, free: 52.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6514, allocations: 0 / 1.049 GB, free: 52.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002381/0.6516, allocations: 41.69 kB / 1.049 GB, free: 52.49 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.0009742/0.6526, allocations: 479.9 kB / 1.049 GB, free: 52.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.6529, allocations: 111.7 kB / 1.049 GB, free: 52.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6529, allocations: 0 / 1.049 GB, free: 52.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.161e-05/0.653, allocations: 40.5 kB / 1.049 GB, free: 52.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.6533, allocations: 44.77 kB / 1.049 GB, free: 52.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005694/0.6539, allocations: 421.5 kB / 1.05 GB, free: 51.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.6541, allocations: 0.7498 MB / 1.051 GB, free: 51.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.766e-05/0.6542, allocations: 29.27 kB / 1.051 GB, free: 51.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.6543, allocations: 18.94 kB / 1.051 GB, free: 51.19 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.6543, allocations: 3.938 kB / 1.051 GB, free: 51.18 MB / 0.698 GB Notification: Performance of Templates: time 0.00583/0.6601, allocations: 2.611 MB / 1.053 GB, free: 50.97 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)