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.021/5.021, allocations: 0.5623 GB / 0.5775 GB, free: 3.32 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.002451/0.002451, allocations: 358.9 kB / 0.6446 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 3.988/3.988, 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.001713/0.001713, allocations: 173.2 kB / 1.226 GB, free: 35.95 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004925, allocations: 16 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2103, allocations: 115.3 MB / 1.461 GB, free: 6.555 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9791/1.189, allocations: 141.4 MB / 1.599 GB, free: 392 kB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/1.19, allocations: 76.91 kB / 1.599 GB, free: 352 kB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.03065/1.22, allocations: 6.964 MB / 1.606 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.174e-06/1.221, allocations: 0 / 1.606 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.329e-05/1.221, allocations: 8.156 kB / 1.606 GB, free: 10.45 MB / 0.6823 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.001062/1.222, allocations: 0.5436 MB / 1.607 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/1.222, allocations: 8.031 kB / 1.607 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.127e-05/1.222, allocations: 23.72 kB / 1.607 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008044/1.223, allocations: 337.5 kB / 1.607 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/1.223, allocations: 6.812 kB / 1.607 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/1.223, allocations: 4 kB / 1.607 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/1.223, allocations: 77.66 kB / 1.607 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/1.223, allocations: 3.984 kB / 1.607 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/1.223, allocations: 3.5 kB / 1.607 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/1.223, allocations: 11.98 kB / 1.607 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/1.223, allocations: 37.48 kB / 1.607 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/1.224, allocations: 439.8 kB / 1.608 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/1.225, allocations: 87.66 kB / 1.608 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/1.225, allocations: 33.28 kB / 1.608 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/1.225, allocations: 0 / 1.608 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/1.225, allocations: 91.78 kB / 1.608 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.285e-06/1.225, allocations: 0 / 1.608 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0005586/1.226, allocations: 134.5 kB / 1.608 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/1.226, allocations: 51.41 kB / 1.608 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006695/1.226, allocations: 372.3 kB / 1.608 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/1.226, allocations: 29.58 kB / 1.608 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/1.227, allocations: 138.5 kB / 1.609 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/1.227, allocations: 19.67 kB / 1.609 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/1.227, allocations: 0 / 1.609 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.227, allocations: 334.3 kB / 1.609 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/1.227, allocations: 74.39 kB / 1.609 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/1.227, allocations: 97.09 kB / 1.609 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/1.228, allocations: 63.23 kB / 1.609 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.228, allocations: 0 / 1.609 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006009/1.228, allocations: 219.3 kB / 1.609 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/1.228, allocations: 14.77 kB / 1.609 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.228, allocations: 4.062 kB / 1.609 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/1.228, allocations: 0 / 1.609 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/1.228, allocations: 27.86 kB / 1.609 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/1.228, allocations: 0 / 1.609 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/1.229, allocations: 15.89 kB / 1.609 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/1.229, allocations: 11.25 kB / 1.609 GB, free: 7.41 MB / 0.6823 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.00022/1.229, allocations: 153.9 kB / 1.61 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/1.229, allocations: 19.81 kB / 1.61 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000417/1.229, allocations: 137.8 kB / 1.61 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/1.23, allocations: 4 kB / 1.61 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.23, allocations: 0 / 1.61 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/1.23, allocations: 3.938 kB / 1.61 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/1.23, allocations: 247 kB / 1.61 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.23, allocations: 0 / 1.61 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-05/1.23, allocations: 7.984 kB / 1.61 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/1.23, allocations: 0 / 1.61 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/1.23, allocations: 3.875 kB / 1.61 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/1.23, allocations: 11.95 kB / 1.61 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/1.23, allocations: 0 / 1.61 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/1.23, allocations: 139.9 kB / 1.61 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.932e-05/1.23, allocations: 96.73 kB / 1.61 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/1.231, allocations: 4 kB / 1.61 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/1.231, allocations: 15.86 kB / 1.61 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/1.231, allocations: 19.92 kB / 1.61 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/1.231, allocations: 8 kB / 1.61 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003665/1.231, allocations: 231.7 kB / 1.611 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/1.231, allocations: 0 / 1.611 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004024/1.232, allocations: 55.89 kB / 1.611 GB, free: 6.32 MB / 0.6823 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 (greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.00125/1.233, allocations: 429.6 kB / 1.611 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004412/1.233, allocations: 118.8 kB / 1.611 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.233, allocations: 0 / 1.611 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/1.234, allocations: 39.3 kB / 1.611 GB, free: 5.941 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/1.234, allocations: 43.17 kB / 1.611 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009854/1.235, allocations: 430.7 kB / 1.612 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/1.235, allocations: 0.7555 MB / 1.612 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001754/1.236, allocations: 29.69 kB / 1.612 GB, free: 4.68 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.287e-05/1.236, allocations: 27.36 kB / 1.612 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of SimCode: time 9.42e-07/1.236, allocations: 4 kB / 1.612 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of Templates: time 0.00949/1.245, allocations: 2.685 MB / 1.615 GB, free: 2.004 MB / 0.6823 GB