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.0007932/0.0007933, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.000896/0.000896, allocations: 168.7 kB / 15.95 MB, free: 204 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.493/1.493, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.648/1.648, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005763/0.0005766, allocations: 15.03 kB / 0.6737 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2467, allocations: 116.3 MB / 0.7873 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.00226/0.249, allocations: 1.594 MB / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.2505, allocations: 0.9612 MB / 0.7898 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.2506, allocations: 4 kB / 0.7898 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003988/0.251, allocations: 95.67 kB / 0.7899 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.2512, allocations: 75.67 kB / 0.79 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.2515, allocations: 107.3 kB / 0.7901 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.2517, allocations: 171.5 kB / 0.7902 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.2519, allocations: 29.67 kB / 0.7903 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.252, allocations: 75.62 kB / 0.7903 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.2521, allocations: 75.62 kB / 0.7904 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.2522, allocations: 7.984 kB / 0.7904 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.2523, allocations: 47.97 kB / 0.7905 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.138e-05/0.2523, allocations: 51.83 kB / 0.7905 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.784e-05/0.2524, allocations: 53.58 kB / 0.7906 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.2527, allocations: 203.8 kB / 0.7908 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2527, allocations: 3.938 kB / 0.7908 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2527, allocations: 0 / 0.7908 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2527, allocations: 0 / 0.7908 GB, free: 8.328 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.0007734/0.2535, allocations: 0.5126 MB / 0.7913 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.2535, allocations: 8.031 kB / 0.7913 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.2536, allocations: 27.67 kB / 0.7913 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.2539, allocations: 286.5 kB / 0.7916 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.254, allocations: 8 kB / 0.7916 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.254, allocations: 4 kB / 0.7916 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.2542, allocations: 77.66 kB / 0.7917 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2542, allocations: 3.984 kB / 0.7917 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.2542, allocations: 4 kB / 0.7917 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2542, allocations: 11.94 kB / 0.7917 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.2543, allocations: 43.88 kB / 0.7917 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006142/0.2549, allocations: 420.6 kB / 0.7921 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.2552, allocations: 82.61 kB / 0.7922 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.996e-05/0.2552, allocations: 32.8 kB / 0.7922 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.2553, allocations: 4 kB / 0.7922 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.2554, allocations: 79.38 kB / 0.7923 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.2554, allocations: 0 / 0.7923 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003072/0.2557, allocations: 133.3 kB / 0.7924 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.2558, allocations: 59.34 kB / 0.7925 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.2562, allocations: 358.9 kB / 0.7928 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.2562, allocations: 29.7 kB / 0.7929 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.078e-05/0.2563, allocations: 144 kB / 0.793 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.2563, allocations: 19.8 kB / 0.793 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/0.2563, allocations: 4 kB / 0.793 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2565, allocations: 334.8 kB / 0.7933 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.2566, allocations: 51.97 kB / 0.7934 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.2567, allocations: 76.5 kB / 0.7935 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.2568, allocations: 55.98 kB / 0.7935 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2568, allocations: 0 / 0.7935 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002853/0.2571, allocations: 193.2 kB / 0.7937 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2571, allocations: 12 kB / 0.7937 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2571, allocations: 0 / 0.7937 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2571, allocations: 0 / 0.7937 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.2573, allocations: 31.92 kB / 0.7937 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.2573, allocations: 0 / 0.7937 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.375e-05/0.2574, allocations: 15.98 kB / 0.7938 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.2574, allocations: 8 kB / 0.7938 GB, free: 5.027 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.0001209/0.2575, allocations: 156.9 kB / 0.7939 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.2576, allocations: 31.66 kB / 0.7939 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.653e-05/0.2576, allocations: 21.75 kB / 0.794 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2576, allocations: 0 / 0.794 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2576, allocations: 0 / 0.794 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2577, allocations: 7.984 kB / 0.794 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.2578, allocations: 245.4 kB / 0.7942 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.2579, allocations: 0 / 0.7942 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.638e-05/0.2579, allocations: 19.86 kB / 0.7942 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2579, allocations: 0 / 0.7942 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.2579, allocations: 11.95 kB / 0.7942 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.2579, allocations: 0 / 0.7942 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2579, allocations: 0 / 0.7942 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.2581, allocations: 120.9 kB / 0.7944 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/0.2582, allocations: 104.8 kB / 0.7945 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.2583, allocations: 8 kB / 0.7945 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-05/0.2583, allocations: 19.94 kB / 0.7945 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.2584, allocations: 7.984 kB / 0.7945 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.2584, allocations: 4 kB / 0.7945 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002757/0.2587, allocations: 229.9 kB / 0.7947 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2587, allocations: 0 / 0.7947 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003565/0.2591, allocations: 36.12 kB / 0.7947 GB, free: 3.934 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.0009031/0.26, allocations: 423.4 kB / 0.7951 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.2602, allocations: 99.91 kB / 0.7952 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.2602, allocations: 4 kB / 0.7952 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.667e-05/0.2603, allocations: 39.86 kB / 0.7953 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.2607, allocations: 48.27 kB / 0.7953 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005733/0.2613, allocations: 416.5 kB / 0.7957 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.2616, allocations: 0.744 MB / 0.7965 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.585e-05/0.2617, allocations: 21.55 kB / 0.7965 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.2617, allocations: 31.42 kB / 0.7965 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.2617, allocations: 0 / 0.7965 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of Templates: time 0.005621/0.2674, allocations: 2.542 MB / 0.799 GB, free: 15.69 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: