Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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.001129/0.001129, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001333/0.001333, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.4 MB / 222.1 MB, free: 5.773 MB / 174.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.575/1.575, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.000535/0.0005351, allocations: 15.16 kB / 0.6736 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2544, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.002131/0.2566, allocations: 1.583 MB / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.258, allocations: 0.9418 MB / 0.7896 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.2581, allocations: 7.938 kB / 0.7896 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.2584, allocations: 91.67 kB / 0.7897 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.2587, allocations: 87.7 kB / 0.7898 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.259, allocations: 103.8 kB / 0.7899 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.2592, allocations: 127.7 kB / 0.79 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.2593, allocations: 29.67 kB / 0.79 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.2595, allocations: 75.69 kB / 0.7901 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.2596, allocations: 75.67 kB / 0.7902 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.2596, allocations: 4 kB / 0.7902 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.2597, allocations: 39.97 kB / 0.7902 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.777e-05/0.2598, allocations: 43.83 kB / 0.7903 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/0.2598, allocations: 65.5 kB / 0.7903 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.2601, allocations: 211.8 kB / 0.7905 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.2601, allocations: 0 / 0.7905 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2601, allocations: 3.984 kB / 0.7905 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2601, allocations: 0 / 0.7905 GB, free: 8.441 MB / 0.6075 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.0007039/0.2608, allocations: 0.5021 MB / 0.791 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.2609, allocations: 12.03 kB / 0.791 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.926e-05/0.2609, allocations: 23.67 kB / 0.7911 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.2613, allocations: 294.4 kB / 0.7913 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.2614, allocations: 4 kB / 0.7913 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.2614, allocations: 8 kB / 0.7913 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.2616, allocations: 85.66 kB / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.2616, allocations: 0 / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.2616, allocations: 0 / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2616, allocations: 0 / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.953e-05/0.2617, allocations: 45.3 kB / 0.7915 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006404/0.2624, allocations: 432.5 kB / 0.7919 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.2626, allocations: 82.59 kB / 0.792 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.2626, allocations: 8.078 kB / 0.792 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.2628, allocations: 83.36 kB / 0.792 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.2628, allocations: 0 / 0.792 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003344/0.2631, allocations: 129.4 kB / 0.7922 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.2632, allocations: 55.34 kB / 0.7922 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/0.2636, allocations: 362.9 kB / 0.7926 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.2636, allocations: 29.7 kB / 0.7926 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.2637, allocations: 144 kB / 0.7927 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.2637, allocations: 15.81 kB / 0.7927 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-06/0.2638, allocations: 4 kB / 0.7928 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2639, allocations: 334.8 kB / 0.7931 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.853e-05/0.264, allocations: 55.97 kB / 0.7931 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.2641, allocations: 77.69 kB / 0.7932 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.586e-05/0.2642, allocations: 50.94 kB / 0.7932 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2642, allocations: 8 kB / 0.7933 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002857/0.2645, allocations: 197.2 kB / 0.7934 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2645, allocations: 6.656 kB / 0.7935 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2646, allocations: 0 / 0.7935 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2646, allocations: 7.938 kB / 0.7935 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.2647, allocations: 19.98 kB / 0.7935 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2647, allocations: 0 / 0.7935 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.2648, allocations: 23.89 kB / 0.7935 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.2648, allocations: 8.031 kB / 0.7935 GB, free: 5.168 MB / 0.6075 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.0002254/0.2651, allocations: 153.8 kB / 0.7937 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.2651, allocations: 19.77 kB / 0.7937 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.2652, allocations: 25.67 kB / 0.7937 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2652, allocations: 4 kB / 0.7937 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2652, allocations: 0 / 0.7937 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2652, allocations: 0 / 0.7937 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.2654, allocations: 257.4 kB / 0.7939 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2654, allocations: 4 kB / 0.794 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.038e-05/0.2654, allocations: 4 kB / 0.794 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.2654, allocations: 4 kB / 0.794 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.2655, allocations: 3.953 kB / 0.794 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2655, allocations: 3.984 kB / 0.794 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2655, allocations: 0 / 0.794 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.2657, allocations: 132.9 kB / 0.7941 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.728e-05/0.2658, allocations: 100.8 kB / 0.7942 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.2658, allocations: 7.969 kB / 0.7942 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.293e-05/0.2659, allocations: 15.95 kB / 0.7942 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.266, allocations: 19.97 kB / 0.7942 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.266, allocations: 0 / 0.7942 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002471/0.2663, allocations: 225.9 kB / 0.7944 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2663, allocations: 0 / 0.7944 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002586/0.2665, allocations: 35.91 kB / 0.7945 GB, free: 4.078 MB / 0.6075 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.001148/0.2677, allocations: 424.3 kB / 0.7949 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002747/0.268, allocations: 111.8 kB / 0.795 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.268, allocations: 0 / 0.795 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.642e-05/0.2681, allocations: 31.92 kB / 0.795 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.2684, allocations: 40.86 kB / 0.7951 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006127/0.269, allocations: 404.6 kB / 0.7954 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.2693, allocations: 0.7518 MB / 0.7962 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.28e-05/0.2694, allocations: 37.67 kB / 0.7962 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.2695, allocations: 15.44 kB / 0.7962 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2695, allocations: 4 kB / 0.7962 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of Templates: time 0.005317/0.2748, allocations: 2.539 MB / 0.7987 GB, free: 15.85 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1) Environment - environmentSimulation: