Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001585, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001816/0.001817, allocations: 193.7 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.828/2.828, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.00133, allocations: 61.28 kB / 0.9116 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3534, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002501/0.356, allocations: 0.8761 MB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.3572, allocations: 0.8741 MB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.3573, allocations: 3.938 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.3575, allocations: 7.938 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.294e-05/0.3575, allocations: 11.94 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.3577, allocations: 31.91 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.3579, allocations: 67.8 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.358, allocations: 23.98 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.3581, allocations: 35.91 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.811e-05/0.3582, allocations: 35.78 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.3583, allocations: 4 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.62e-05/0.3583, allocations: 4 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/0.3583, allocations: 15.94 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.397e-05/0.3584, allocations: 31.78 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.3585, allocations: 76.03 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3585, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3585, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5e-06/0.3585, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006817/0.3592, allocations: 391.1 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.3593, allocations: 15.97 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.3593, allocations: 8.844 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.3596, allocations: 197.7 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.3596, allocations: 8.312 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.3597, allocations: 8.375 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.3599, allocations: 62.17 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3599, allocations: 192 / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.3599, allocations: 7.938 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3599, allocations: 0 / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.3601, allocations: 39.95 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006232/0.3607, allocations: 312.7 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.3609, allocations: 54.55 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.489e-05/0.361, allocations: 12.92 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.361, allocations: 4 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.3611, allocations: 34.59 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3611, allocations: 0 / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003118/0.3614, allocations: 81.66 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.3615, allocations: 51.41 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.3616, allocations: 135.5 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.3616, allocations: 29.7 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.634e-05/0.3617, allocations: 96.08 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.3618, allocations: 11.89 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.3618, allocations: 13.72 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.362, allocations: 326.8 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.45e-05/0.362, allocations: 12 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.74e-05/0.3621, allocations: 19.98 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.39e-05/0.3622, allocations: 32.78 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3622, allocations: 0 / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001681/0.3624, allocations: 69.58 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.3624, allocations: 4 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3624, allocations: 0 / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3625, allocations: 4 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.759e-05/0.3625, allocations: 4 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.3626, allocations: 0 / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.884e-05/0.3626, allocations: 11.98 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.3627, allocations: 0 / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (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 (4): * Single equations (assignments): 4 * 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.0001278/0.3628, allocations: 133.6 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.3628, allocations: 7.906 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.3629, allocations: 8.25 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3629, allocations: 7.938 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3629, allocations: 0 / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3629, allocations: 0 / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.3632, allocations: 189.6 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3632, allocations: 0 / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.3632, allocations: 7.984 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.3632, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.3632, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3633, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3633, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.3635, allocations: 163.7 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.3635, allocations: 85.06 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.3636, allocations: 3.984 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3637, allocations: 7.984 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.3637, allocations: 15.92 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.3638, allocations: 4 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.901e-05/0.3638, allocations: 105 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3638, allocations: 4 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002607/0.3641, allocations: 11.94 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002094/0.3643, allocations: 99.25 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001897/0.3645, allocations: 31.98 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3645, allocations: 0 / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.083e-05/0.3646, allocations: 23.92 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.365, allocations: 15.94 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00047/0.3654, allocations: 182.5 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.3658, allocations: 0.6963 MB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.689e-05/0.3659, allocations: 3.984 kB / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.3659, allocations: 15.44 kB / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.3659, allocations: 0 / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of Templates: time 0.003593/0.3695, allocations: 0.7591 MB / 1.074 GB, free: 3.707 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1)