Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.426/5.426, allocations: 0.5623 GB / 0.5769 GB, free: 3.324 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.002554/0.002553, allocations: 355.8 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.221/4.221, allocations: 410.7 MB / 1.112 GB, free: 5.945 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.001762/0.001761, allocations: 184 kB / 1.225 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005305/0.0005308, allocations: 20 kB / 1.348 GB, free: 8.168 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7218/0.7224, 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.Less): time 0.003198/0.7256, allocations: 1.602 MB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002781/0.7285, allocations: 0.9388 MB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.7287, allocations: 7.938 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000459/0.7292, allocations: 92.48 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.7296, allocations: 85.34 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006284/0.7303, allocations: 104.8 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003661/0.7307, allocations: 191.4 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.7309, allocations: 37.98 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.7311, allocations: 69.84 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.7313, allocations: 75.67 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.7314, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/0.7316, allocations: 55.84 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.918e-05/0.7317, allocations: 48.89 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.415e-05/0.7318, allocations: 56.06 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004053/0.7322, allocations: 213.6 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.7323, allocations: 1.156 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.355e-06/0.7323, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.362e-06/0.7323, allocations: 0 / 1.464 GB, free: 280.7 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001054/0.7334, allocations: 0.5118 MB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.7335, allocations: 13.31 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.037e-05/0.7336, allocations: 27.67 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000601/0.7342, allocations: 290.4 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.7342, allocations: 8 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.7343, allocations: 13.34 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.7347, allocations: 89.64 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.7347, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.7348, allocations: 1.094 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.7348, allocations: 4 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002487/0.735, allocations: 50.03 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.7362, allocations: 463.8 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004435/0.7367, allocations: 82.61 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.7368, allocations: 25.62 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.7369, allocations: 8.656 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002635/0.7372, allocations: 77.14 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 4.716e-06/0.7372, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.000626/0.7379, allocations: 133.9 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.7379, allocations: 58.31 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006904/0.7386, allocations: 363 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.7387, allocations: 29.7 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.7388, allocations: 144 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.7389, allocations: 23.73 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/0.7389, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.7391, allocations: 342.8 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.7393, allocations: 48.8 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.7396, allocations: 74.91 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.7398, allocations: 60.81 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.7399, allocations: 0 / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006923/0.7406, allocations: 193.7 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.7406, allocations: 11.98 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.668e-06/0.7406, allocations: 1.5 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.7407, allocations: 0 / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.7409, allocations: 24 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.741, allocations: 8.609 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.7413, allocations: 8.562 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/0.7413, allocations: 8.812 kB / 1.467 GB, free: 277.4 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.0002393/0.7416, allocations: 157.4 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/0.7417, allocations: 23.72 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.626e-05/0.7418, allocations: 25.73 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.7418, allocations: 4 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.728e-06/0.7419, allocations: 1.094 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.167e-06/0.7419, allocations: 0 / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.7422, allocations: 253.4 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.48e-06/0.7422, allocations: 2.75 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.356e-05/0.7423, allocations: 4 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.697e-06/0.7423, allocations: 4 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.7424, allocations: 0 / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.567e-06/0.7424, allocations: 3.938 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.7424, allocations: 0 / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.7429, allocations: 139 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.743, allocations: 105.9 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.18e-05/0.7431, allocations: 7.984 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.7433, allocations: 8.688 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.401e-05/0.7435, allocations: 16.84 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.7435, allocations: 0 / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004449/0.744, allocations: 235 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.171e-06/0.744, allocations: 3.938 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006428/0.7447, allocations: 36 kB / 1.468 GB, free: 276.3 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.002129/0.7468, allocations: 421 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000501/0.7474, allocations: 108.5 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.7474, allocations: 2.688 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.7475, allocations: 39.91 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00068/0.7482, allocations: 39.05 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009951/0.7493, allocations: 421.9 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.7495, allocations: 0.759 MB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002/0.7498, allocations: 27.2 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-05/0.7499, allocations: 23.42 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.958e-06/0.7499, allocations: 0.5 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.01064/0.7606, allocations: 2.55 MB / 1.473 GB, free: 272.3 MB / 0.8542 GB