Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001482/0.001482, allocations: 197.7 kB / 16.14 MB, free: 6.703 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.786/1.786, allocations: 205.1 MB / 222 MB, free: 4.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.794/1.794, allocations: 251.7 MB / 0.5088 GB, free: 3.383 MB / 414.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.002597/0.002597, allocations: 67.91 kB / 0.6216 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7555/0.7582, allocations: 104.7 MB / 0.7238 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.002855/0.7611, allocations: 1.433 MB / 0.7252 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000286/0.7614, allocations: 108.6 kB / 0.7253 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.7614, allocations: 0 / 0.7253 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.577e-05/0.7615, allocations: 3.938 kB / 0.7253 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.809e-05/0.7615, allocations: 0 / 0.7253 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.218e-05/0.7616, allocations: 4 kB / 0.7253 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.572e-05/0.7617, allocations: 31.92 kB / 0.7254 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.7618, allocations: 0 / 0.7254 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.255e-05/0.7619, allocations: 11.92 kB / 0.7254 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.541e-05/0.7619, allocations: 15.92 kB / 0.7254 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.7619, allocations: 4 kB / 0.7254 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.7619, allocations: 4 kB / 0.7254 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.762, allocations: 4 kB / 0.7254 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.762, allocations: 3.938 kB / 0.7254 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.57e-05/0.7621, allocations: 27.89 kB / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7621, allocations: 0 / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.756e-06/0.7621, allocations: 3.984 kB / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.363e-06/0.7621, allocations: 0 / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004533/0.7626, allocations: 349.4 kB / 0.7258 GB, free: 11.15 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.7626, allocations: 8.031 kB / 0.7258 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.7626, allocations: 4.844 kB / 0.7258 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.7628, allocations: 172.3 kB / 0.726 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.7628, allocations: 384 / 0.726 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.7628, allocations: 4.375 kB / 0.726 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.763, allocations: 50.23 kB / 0.726 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.763, allocations: 4.188 kB / 0.726 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.763, allocations: 3.938 kB / 0.726 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.763, allocations: 8 kB / 0.726 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.7632, allocations: 31.95 kB / 0.726 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.7636, allocations: 249 kB / 0.7263 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.7637, allocations: 42.44 kB / 0.7263 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.389e-05/0.7638, allocations: 28.91 kB / 0.7264 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.7638, allocations: 0 / 0.7264 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.7639, allocations: 30.56 kB / 0.7264 GB, free: 10.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.7639, allocations: 0 / 0.7264 GB, free: 10.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003165/0.7642, allocations: 85.48 kB / 0.7265 GB, free: 10.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.7642, allocations: 55.53 kB / 0.7265 GB, free: 10.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.7643, allocations: 101.8 kB / 0.7266 GB, free: 10.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.7643, allocations: 29.7 kB / 0.7266 GB, free: 10.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.7644, allocations: 84.14 kB / 0.7267 GB, free: 10.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/0.7644, allocations: 0 / 0.7267 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.7645, allocations: 17.72 kB / 0.7267 GB, free: 10 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.7646, allocations: 314.8 kB / 0.727 GB, free: 9.684 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.352e-05/0.7647, allocations: 15.98 kB / 0.7271 GB, free: 9.668 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.536e-05/0.7647, allocations: 19.98 kB / 0.7271 GB, free: 9.648 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.7649, allocations: 32.83 kB / 0.7271 GB, free: 9.613 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.7649, allocations: 0 / 0.7271 GB, free: 9.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001863/0.7651, allocations: 81.5 kB / 0.7272 GB, free: 9.527 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.7651, allocations: 7.938 kB / 0.7272 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7651, allocations: 0 / 0.7272 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.7651, allocations: 3.984 kB / 0.7272 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.459e-05/0.7652, allocations: 11.98 kB / 0.7272 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.7652, allocations: 0 / 0.7272 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.061e-05/0.7653, allocations: 7.984 kB / 0.7272 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-06/0.7653, allocations: 0 / 0.7272 GB, free: 9.496 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.396e-05/0.7654, allocations: 121.8 kB / 0.7273 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.7654, allocations: 0 / 0.7273 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.095e-05/0.7654, allocations: 3.125 kB / 0.7273 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.7654, allocations: 0 / 0.7273 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7654, allocations: 0 / 0.7273 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.7655, allocations: 7.938 kB / 0.7273 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.7656, allocations: 161.6 kB / 0.7275 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7656, allocations: 0 / 0.7275 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.067e-05/0.7657, allocations: 7.984 kB / 0.7275 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.7657, allocations: 0 / 0.7275 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.7657, allocations: 0 / 0.7275 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.7657, allocations: 4.25 kB / 0.7275 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7657, allocations: 4 kB / 0.7275 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.766, allocations: 167.4 kB / 0.7277 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.766, allocations: 85.02 kB / 0.7278 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.7661, allocations: 0 / 0.7278 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.849e-05/0.7661, allocations: 12.02 kB / 0.7278 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.7662, allocations: 0 / 0.7278 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.7662, allocations: 4 kB / 0.7278 GB, free: 8.836 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.181e-05/0.7663, allocations: 87.27 kB / 0.7279 GB, free: 8.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7663, allocations: 0 / 0.7279 GB, free: 8.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002056/0.7665, allocations: 4 kB / 0.7279 GB, free: 8.746 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001815/0.7667, allocations: 99.25 kB / 0.7279 GB, free: 8.637 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.7669, allocations: 35.97 kB / 0.728 GB, free: 8.602 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7669, allocations: 0 / 0.728 GB, free: 8.602 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.885e-05/0.767, allocations: 27.91 kB / 0.728 GB, free: 8.574 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.7673, allocations: 7.938 kB / 0.728 GB, free: 8.566 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.7676, allocations: 111.6 kB / 0.7281 GB, free: 8.434 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.768, allocations: 0.6809 MB / 0.7288 GB, free: 7.727 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.508e-05/0.768, allocations: 0 / 0.7288 GB, free: 7.727 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.768, allocations: 7.438 kB / 0.7288 GB, free: 7.719 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.7681, allocations: 0 / 0.7288 GB, free: 7.719 MB / 0.545 GB Notification: Performance of Templates: time 0.002491/0.7705, allocations: 410.2 kB / 0.7292 GB, free: 7.328 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)