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.561/5.561, allocations: 0.5623 GB / 0.5776 GB, free: 3.363 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.002516/0.002516, allocations: 356.5 kB / 0.6447 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.726/4.726, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001728/0.001728, allocations: 179.6 kB / 1.226 GB, free: 35.98 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005052/0.0005054, allocations: 16.94 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2141, allocations: 115.3 MB / 1.461 GB, free: 6.582 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.002414/0.2166, allocations: 1.595 MB / 1.463 GB, free: 4.969 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001849/0.2185, allocations: 0.93 MB / 1.464 GB, free: 4.031 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.2186, allocations: 4 kB / 1.464 GB, free: 4.027 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.219, allocations: 91.62 kB / 1.464 GB, free: 3.938 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.2193, allocations: 83.66 kB / 1.464 GB, free: 3.855 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000451/0.2198, allocations: 111.5 kB / 1.464 GB, free: 3.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.22, allocations: 171.5 kB / 1.464 GB, free: 3.582 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.2202, allocations: 37.64 kB / 1.464 GB, free: 3.543 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.2203, allocations: 71.62 kB / 1.464 GB, free: 3.473 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.2205, allocations: 75.67 kB / 1.464 GB, free: 3.398 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.2205, allocations: 4 kB / 1.464 GB, free: 3.395 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.2207, allocations: 47.86 kB / 1.464 GB, free: 3.348 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.575e-05/0.2207, allocations: 51.81 kB / 1.465 GB, free: 3.297 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.842e-05/0.2208, allocations: 53.58 kB / 1.465 GB, free: 3.238 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.2211, allocations: 207.8 kB / 1.465 GB, free: 3.035 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2211, allocations: 3.938 kB / 1.465 GB, free: 3.031 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2211, allocations: 0 / 1.465 GB, free: 3.031 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.2211, allocations: 4 kB / 1.465 GB, free: 3.027 MB / 0.6042 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.0008507/0.222, allocations: 0.5059 MB / 1.465 GB, free: 2.473 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.2221, allocations: 8.031 kB / 1.465 GB, free: 2.465 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.561e-05/0.2221, allocations: 23.67 kB / 1.465 GB, free: 2.441 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.2226, allocations: 290.5 kB / 1.466 GB, free: 2.121 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.2226, allocations: 8 kB / 1.466 GB, free: 2.113 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.2226, allocations: 11.94 kB / 1.466 GB, free: 2.102 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.2229, allocations: 77.66 kB / 1.466 GB, free: 2.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2229, allocations: 0 / 1.466 GB, free: 2.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.2229, allocations: 0 / 1.466 GB, free: 2.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2229, allocations: 3.953 kB / 1.466 GB, free: 2.016 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.2231, allocations: 39.97 kB / 1.466 GB, free: 1.977 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007915/0.2239, allocations: 436.5 kB / 1.466 GB, free: 1.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.2243, allocations: 86.61 kB / 1.466 GB, free: 1.406 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.415e-05/0.2244, allocations: 32.84 kB / 1.466 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.2244, allocations: 0 / 1.466 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.2246, allocations: 79.31 kB / 1.466 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.093e-06/0.2247, allocations: 0 / 1.466 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004813/0.2251, allocations: 125.4 kB / 1.466 GB, free: 1.152 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.2252, allocations: 51.41 kB / 1.467 GB, free: 1.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005851/0.2258, allocations: 366.9 kB / 1.467 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.2258, allocations: 29.7 kB / 1.467 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.226, allocations: 143.9 kB / 1.467 GB, free: 0.543 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.226, allocations: 15.81 kB / 1.467 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.578e-05/0.2261, allocations: 4 kB / 1.467 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.2262, allocations: 334.8 kB / 1.467 GB, free: 192 kB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.2264, allocations: 59.97 kB / 1.467 GB, free: 132 kB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.2266, allocations: 88.69 kB / 1.468 GB, free: 40 kB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.2268, allocations: 55.98 kB / 1.468 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2269, allocations: 0 / 1.468 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005073/0.2274, allocations: 189.3 kB / 1.468 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.2274, allocations: 4 kB / 1.468 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2274, allocations: 4 kB / 1.468 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.2275, allocations: 0 / 1.468 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.2277, allocations: 23.92 kB / 1.468 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.2277, allocations: 4 kB / 1.468 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.2279, allocations: 20.02 kB / 1.468 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.2279, allocations: 8 kB / 1.468 GB, free: 15.73 MB / 0.6198 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.0001994/0.2281, allocations: 156.9 kB / 1.468 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.2282, allocations: 23.67 kB / 1.468 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.965e-05/0.2283, allocations: 33.67 kB / 1.468 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2283, allocations: 0 / 1.468 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2283, allocations: 0 / 1.468 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.2284, allocations: 108.8 kB / 1.468 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/0.2285, allocations: 8 kB / 1.468 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.2286, allocations: 11.98 kB / 1.468 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/0.2287, allocations: 7.984 kB / 1.468 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003987/0.2291, allocations: 180.9 kB / 1.468 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003999/0.2295, allocations: 294.8 kB / 1.469 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001278/0.2297, allocations: 32.05 kB / 1.469 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003569/0.2301, allocations: 225.9 kB / 1.469 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of Backend: time 7.41e-07/0.2301, allocations: 0 / 1.469 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002005/0.2321, allocations: 0.5319 MB / 1.469 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001301/0.2334, allocations: 0.8591 MB / 1.47 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of Templates: time 0.009456/0.2429, allocations: 2.696 MB / 1.473 GB, free: 10.68 MB / 0.6198 GB