Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.151/5.151, allocations: 0.5623 GB / 0.5769 GB, free: 3.266 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.002439/0.002438, allocations: 358.7 kB / 0.644 GB, free: 185.6 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.393/4.393, allocations: 410.7 MB / 1.112 GB, free: 6.012 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.001793/0.001793, allocations: 193.1 kB / 1.225 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004976/0.0004978, allocations: 15.98 kB / 1.348 GB, free: 8.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5984/0.599, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.00198/0.601, allocations: 1.587 MB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.6028, allocations: 0.9377 MB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.6029, allocations: 5.812 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.6033, allocations: 91.69 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.6036, allocations: 83.64 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.6039, allocations: 100 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.6042, allocations: 183.4 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.6043, allocations: 27.95 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.6044, allocations: 68.7 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.6046, allocations: 79.61 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.6046, allocations: 4.938 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.6047, allocations: 51.95 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.939e-05/0.6048, allocations: 44.64 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.6049, allocations: 61.52 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.6051, allocations: 202.4 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.6051, allocations: 4 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.746e-06/0.6051, allocations: 1.656 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.41e-06/0.6052, allocations: 0 / 1.464 GB, free: 280.8 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.0006885/0.6059, allocations: 0.5035 MB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.6059, allocations: 15.61 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.778e-05/0.606, allocations: 28.64 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.6064, allocations: 290.4 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.6064, allocations: 1.969 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.6064, allocations: 8 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.6066, allocations: 83.14 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.694e-06/0.6067, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.6067, allocations: 7.938 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.303e-06/0.6067, allocations: 4.922 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.6068, allocations: 35.98 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007964/0.6077, allocations: 427.9 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.608, allocations: 89.56 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.084e-05/0.6081, allocations: 28.84 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.6081, allocations: 1.031 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.6083, allocations: 80.42 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.699e-06/0.6083, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0003692/0.6087, allocations: 134.5 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.6087, allocations: 59.34 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.6091, allocations: 359.4 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.6092, allocations: 29.7 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/0.6093, allocations: 141.4 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.6093, allocations: 23.73 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.6093, allocations: 4 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.956e-05/0.6094, allocations: 335.3 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.6096, allocations: 52.73 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.6097, allocations: 75.28 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.6099, allocations: 55.98 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.879e-06/0.6099, allocations: 0 / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003814/0.6103, allocations: 197.3 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.6103, allocations: 4.625 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6103, allocations: 5.062 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.6103, allocations: 1.312 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.6105, allocations: 23.98 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.131e-06/0.6105, allocations: 0 / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.6107, allocations: 26.2 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.6107, allocations: 4 kB / 1.467 GB, free: 277.5 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,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.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.0001371/0.6109, allocations: 157.8 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.6109, allocations: 24.36 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.624e-05/0.611, allocations: 18.62 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.35e-06/0.611, allocations: 9.25 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.611, allocations: 1.062 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.844e-06/0.611, allocations: 0 / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.6112, allocations: 241.6 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.302e-06/0.6112, allocations: 1.312 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.223e-05/0.6113, allocations: 7.984 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.383e-06/0.6113, allocations: 7.953 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.6113, allocations: 4 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.6113, allocations: 0.9375 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.996e-06/0.6113, allocations: 0 / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.6116, allocations: 140 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.194e-05/0.6117, allocations: 104.8 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.6117, allocations: 7.953 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.6119, allocations: 11.98 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.6119, allocations: 8.547 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.612, allocations: 11.98 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002465/0.6122, allocations: 223.6 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.01e-07/0.6122, allocations: 0 / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003469/0.6126, allocations: 40.06 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,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,lesHys.lesHys.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.001408/0.614, allocations: 431.7 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004041/0.6144, allocations: 99.91 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.27e-06/0.6145, allocations: 0.9688 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.6146, allocations: 35.92 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005721/0.6152, allocations: 57.05 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.0006926/0.6159, allocations: 402.5 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.6161, allocations: 0.7544 MB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001128/0.6162, allocations: 27.31 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.476e-05/0.6163, allocations: 23.42 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.638e-06/0.6163, allocations: 3.125 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.007525/0.6239, allocations: 2.544 MB / 1.472 GB, free: 272.5 MB / 0.8542 GB