Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 102.4 kB / 16.35 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 194.7 kB / 17.29 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.806/1.806, allocations: 292.3 MB / 0.5496 GB, free: 17.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001459/0.00146, allocations: 70.88 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2571, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.003379/0.2605, allocations: 1.941 MB / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.2623, allocations: 1.031 MB / 0.7877 GB, free: 164 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.2625, allocations: 7.938 kB / 0.7877 GB, free: 156 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.2629, allocations: 103.5 kB / 0.7878 GB, free: 52 kB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.3984/0.6613, allocations: 87.12 kB / 0.7879 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.6618, allocations: 129.8 kB / 0.788 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.6622, allocations: 221.2 kB / 0.7882 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.6624, allocations: 59.42 kB / 0.7883 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.6626, allocations: 89.84 kB / 0.7884 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.6627, allocations: 99.81 kB / 0.7885 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.804e-05/0.6628, allocations: 14.28 kB / 0.7885 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.663, allocations: 66.06 kB / 0.7885 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.342e-05/0.6631, allocations: 55.72 kB / 0.7886 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.444e-05/0.6632, allocations: 88.17 kB / 0.7887 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.6636, allocations: 286.8 kB / 0.7889 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.6636, allocations: 0 / 0.7889 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6636, allocations: 0.5938 kB / 0.7889 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.6636, allocations: 0 / 0.7889 GB, free: 46.39 MB / 0.6544 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.0008936/0.6645, allocations: 0.5355 MB / 0.7895 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.6646, allocations: 9.844 kB / 0.7895 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.954e-05/0.6647, allocations: 28.34 kB / 0.7895 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.6651, allocations: 300.6 kB / 0.7898 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.6651, allocations: 7.984 kB / 0.7898 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.6651, allocations: 11.23 kB / 0.7898 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.6653, allocations: 96.84 kB / 0.7899 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.6653, allocations: 3.562 kB / 0.7899 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.6654, allocations: 3.25 kB / 0.7899 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.6654, allocations: 3.5 kB / 0.7899 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.6655, allocations: 45.27 kB / 0.79 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006567/0.6662, allocations: 454.1 kB / 0.7904 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.6664, allocations: 78.69 kB / 0.7905 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.191e-05/0.6665, allocations: 28.08 kB / 0.7905 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.6665, allocations: 1.469 kB / 0.7905 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.6667, allocations: 83.67 kB / 0.7906 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.315e-06/0.6667, allocations: 3.734 kB / 0.7906 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003158/0.667, allocations: 133.3 kB / 0.7907 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.667, allocations: 51.41 kB / 0.7907 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.6673, allocations: 367.7 kB / 0.7911 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.6674, allocations: 33.2 kB / 0.7911 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.095e-05/0.6674, allocations: 136.4 kB / 0.7913 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.6675, allocations: 25.12 kB / 0.7913 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.6675, allocations: 50.06 kB / 0.7913 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.346e-05/0.6676, allocations: 332.7 kB / 0.7916 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.6677, allocations: 60.02 kB / 0.7917 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.6678, allocations: 77.91 kB / 0.7918 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.668, allocations: 92.05 kB / 0.7919 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.668, allocations: 3.438 kB / 0.7919 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002774/0.6683, allocations: 191.5 kB / 0.7921 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.6683, allocations: 12.09 kB / 0.7921 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.6683, allocations: 3.156 kB / 0.7921 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.6683, allocations: 1.156 kB / 0.7921 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.6684, allocations: 24.7 kB / 0.7921 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.6685, allocations: 0 / 0.7921 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.6686, allocations: 20.23 kB / 0.7921 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.6686, allocations: 9.781 kB / 0.7921 GB, free: 44.55 MB / 0.6544 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 ($PRE.ram.tab.nextTimeEvent,$whenCondition1,ram.tab.nextTimeEventScaled,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEvent,lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * 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.0001087/0.6687, allocations: 146.4 kB / 0.7923 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.6688, allocations: 26.66 kB / 0.7923 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.286e-05/0.6688, allocations: 24.97 kB / 0.7923 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.6688, allocations: 2.625 kB / 0.7923 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6688, allocations: 0 / 0.7923 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.6688, allocations: 0 / 0.7923 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.669, allocations: 257.9 kB / 0.7926 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.669, allocations: 0 / 0.7926 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.478e-05/0.669, allocations: 5.344 kB / 0.7926 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.669, allocations: 5.344 kB / 0.7926 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.6691, allocations: 0 / 0.7926 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.6691, allocations: 7.438 kB / 0.7926 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6691, allocations: 0 / 0.7926 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.6693, allocations: 136.7 kB / 0.7927 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.6693, allocations: 98.03 kB / 0.7928 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.6694, allocations: 7.438 kB / 0.7928 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-05/0.6695, allocations: 12.53 kB / 0.7928 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.6695, allocations: 13.94 kB / 0.7928 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.6695, allocations: 3.375 kB / 0.7928 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001933/0.6697, allocations: 231.2 kB / 0.7931 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6698, allocations: 0 / 0.7931 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002638/0.67, allocations: 46.02 kB / 0.7931 GB, free: 43.95 MB / 0.6544 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 (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.0009452/0.671, allocations: 421.3 kB / 0.7935 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002317/0.6712, allocations: 106.1 kB / 0.7936 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6712, allocations: 6.359 kB / 0.7936 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.434e-05/0.6713, allocations: 33.41 kB / 0.7936 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.6717, allocations: 56.14 kB / 0.7937 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005179/0.6722, allocations: 363.8 kB / 0.794 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.6723, allocations: 0.7502 MB / 0.7948 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.97e-05/0.6724, allocations: 31.98 kB / 0.7948 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.6725, allocations: 22 kB / 0.7948 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.6725, allocations: 0 / 0.7948 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of Templates: time 0.00549/0.678, allocations: 2.811 MB / 0.7976 GB, free: 42.79 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)