Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/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_master_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.275/5.275, allocations: 0.5623 GB / 0.5769 GB, free: 3.281 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002496/0.002496, allocations: 355.8 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.244/4.244, allocations: 410.7 MB / 1.112 GB, free: 6.09 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001924/0.001924, allocations: 187.3 kB / 1.225 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005609/0.0005611, allocations: 12 kB / 1.348 GB, free: 8.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6287/0.6293, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.001946/0.6313, allocations: 1.588 MB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.6329, allocations: 0.932 MB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.633, allocations: 12.69 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.6333, allocations: 87.69 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.6336, allocations: 84.38 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.6339, allocations: 100.8 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.6342, allocations: 171.5 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.6343, allocations: 42.38 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.6344, allocations: 64.45 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.6346, allocations: 79.66 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.6346, allocations: 4.812 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.6347, allocations: 51.84 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.818e-05/0.6348, allocations: 50.58 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.6349, allocations: 53.58 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.6351, allocations: 205.6 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.169e-06/0.6351, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.13e-06/0.6351, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.639e-06/0.6352, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 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.0006921/0.6359, allocations: 0.5077 MB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.6359, allocations: 16.28 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.636, allocations: 23.67 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.6364, allocations: 295.5 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.6364, allocations: 4 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.6365, allocations: 8.75 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.6367, allocations: 80.84 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.972e-06/0.6367, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.6367, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.763e-06/0.6367, allocations: 3.953 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.6369, allocations: 35.98 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006725/0.6376, allocations: 433 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.6378, allocations: 87.67 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.228e-05/0.638, allocations: 31.55 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.638, allocations: 0 / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.6382, allocations: 79.38 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 3.367e-06/0.6382, allocations: 1.031 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0003784/0.6386, allocations: 134 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.6386, allocations: 53.56 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.639, allocations: 362.9 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.6391, allocations: 33.69 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.478e-05/0.6392, allocations: 139.9 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.6392, allocations: 24.3 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/0.6392, allocations: 4 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.743e-05/0.6393, allocations: 337.8 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.6395, allocations: 55.98 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.6396, allocations: 77.62 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.6398, allocations: 59.64 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.788e-06/0.6398, allocations: 1.219 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004023/0.6402, allocations: 189.3 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.6402, allocations: 12.64 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.55e-06/0.6402, allocations: 4 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.6403, allocations: 0 / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.6404, allocations: 17.12 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.6404, allocations: 7.984 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.6406, allocations: 17.09 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.6406, allocations: 4 kB / 1.467 GB, free: 277.6 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.6408, allocations: 159 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.6408, allocations: 26.3 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.124e-05/0.6409, allocations: 29.73 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.169e-06/0.6409, allocations: 0.75 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.305e-06/0.6409, allocations: 0 / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.641, allocations: 0.5 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.6412, allocations: 241.6 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.417e-06/0.6412, allocations: 1.906 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.6412, allocations: 4 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.06e-06/0.6412, allocations: 3.953 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.6412, allocations: 0 / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.6413, allocations: 0 / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.101e-06/0.6413, allocations: 0.625 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.6415, allocations: 146.7 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.688e-05/0.6416, allocations: 100.8 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.6417, allocations: 7.953 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.6418, allocations: 13.55 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/0.6419, allocations: 15.97 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.6419, allocations: 4.688 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002406/0.6421, allocations: 226.7 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.77e-07/0.6422, allocations: 3.938 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000339/0.6425, allocations: 45.11 kB / 1.468 GB, free: 276.5 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001407/0.6439, allocations: 416.9 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003895/0.6443, allocations: 109.7 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.571e-06/0.6444, allocations: 0 / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.6445, allocations: 31.94 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.6449, allocations: 50.56 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006736/0.6456, allocations: 413.7 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.6458, allocations: 0.7502 MB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.646, allocations: 32.05 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.6461, allocations: 20.69 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.666e-06/0.6461, allocations: 0 / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.007475/0.6535, allocations: 2.557 MB / 1.472 GB, free: 272.5 MB / 0.8542 GB