Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.993/2.993, allocations: 287.5 MB / 302.4 MB, free: 8.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001513/0.001512, allocations: 181.2 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.427/2.427, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000953/0.0009528, allocations: 89.75 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007598/0.0007604, allocations: 14.09 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2976, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.002655/0.3003, allocations: 1.59 MB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002127/0.3025, allocations: 0.9418 MB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.3027, allocations: 4 kB / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004364/0.3032, allocations: 95.67 kB / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003071/0.3035, allocations: 79.73 kB / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.304, allocations: 105.1 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.3043, allocations: 167.5 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.3044, allocations: 33.67 kB / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.3046, allocations: 71.62 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.3048, allocations: 79.61 kB / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.3048, allocations: 4 kB / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.305, allocations: 51.97 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.194e-05/0.3051, allocations: 43.83 kB / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.434e-05/0.3052, allocations: 57.58 kB / 0.9816 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.3055, allocations: 207.8 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3055, allocations: 0 / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.285e-06/0.3055, allocations: 0 / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.3055, allocations: 4 kB / 0.9818 GB, free: 24.8 MB / 0.6198 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.0009371/0.3065, allocations: 0.5021 MB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3065, allocations: 15.95 kB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.153e-05/0.3066, allocations: 31.61 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.3071, allocations: 290.4 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.3072, allocations: 12 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.3072, allocations: 4 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.3075, allocations: 86.39 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3075, allocations: 0 / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.3076, allocations: 0 / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.3076, allocations: 7.953 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.3077, allocations: 39.92 kB / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008308/0.3086, allocations: 428.6 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.3089, allocations: 90.56 kB / 0.9833 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.42e-05/0.309, allocations: 28.84 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.3091, allocations: 4 kB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.3093, allocations: 75.38 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.595e-06/0.3093, allocations: 0 / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004663/0.3098, allocations: 137.3 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.3099, allocations: 55.41 kB / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000481/0.3104, allocations: 362.9 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.3104, allocations: 29.7 kB / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.975e-05/0.3105, allocations: 140 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.3105, allocations: 19.8 kB / 0.9841 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.523e-05/0.3106, allocations: 4 kB / 0.9841 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.884e-05/0.3107, allocations: 330.8 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.3108, allocations: 55.98 kB / 0.9844 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.311, allocations: 79.25 kB / 0.9845 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.3112, allocations: 55.98 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3112, allocations: 0 / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004582/0.3117, allocations: 194.9 kB / 0.9848 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.3117, allocations: 8 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.3117, allocations: 0 / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.3118, allocations: 0 / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.312, allocations: 27.92 kB / 0.9848 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.312, allocations: 8.281 kB / 0.9848 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.3122, allocations: 15.98 kB / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.3122, allocations: 8 kB / 0.9848 GB, free: 21.49 MB / 0.6198 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.0001691/0.3124, allocations: 149.8 kB / 0.985 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.3125, allocations: 27.67 kB / 0.985 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.022e-05/0.3126, allocations: 21.75 kB / 0.985 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3126, allocations: 3.984 kB / 0.985 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3126, allocations: 4 kB / 0.985 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3126, allocations: 4 kB / 0.985 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.3128, allocations: 245.4 kB / 0.9853 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3129, allocations: 3.938 kB / 0.9853 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-05/0.3129, allocations: 7.984 kB / 0.9853 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.3129, allocations: 3.953 kB / 0.9853 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.3129, allocations: 0 / 0.9853 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.313, allocations: 7.938 kB / 0.9853 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.313, allocations: 3.984 kB / 0.9853 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.3133, allocations: 128.9 kB / 0.9854 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.3134, allocations: 104.8 kB / 0.9855 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.3134, allocations: 7.953 kB / 0.9855 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.3136, allocations: 11.98 kB / 0.9855 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.3136, allocations: 15.97 kB / 0.9855 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.3137, allocations: 4 kB / 0.9856 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002888/0.314, allocations: 229.9 kB / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.314, allocations: 4 kB / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003391/0.3143, allocations: 32.12 kB / 0.9858 GB, free: 20.39 MB / 0.6198 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.001329/0.3157, allocations: 428 kB / 0.9862 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004233/0.3161, allocations: 103.8 kB / 0.9863 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3161, allocations: 0 / 0.9863 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.3163, allocations: 31.92 kB / 0.9863 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.3168, allocations: 56.86 kB / 0.9864 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008615/0.3177, allocations: 408.5 kB / 0.9868 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.318, allocations: 0.744 MB / 0.9875 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001629/0.3181, allocations: 25.55 kB / 0.9875 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.17e-05/0.3182, allocations: 23.42 kB / 0.9876 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of SimCode: time 1.342e-06/0.3182, allocations: 0 / 0.9876 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.008702/0.327, allocations: 2.553 MB / 0.9901 GB, free: 16.16 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)