Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008886/0.0008887, 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.0009494/0.0009494, 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.369/1.369, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.619/1.619, allocations: 292.5 MB / 0.5497 GB, free: 14.66 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.0005845/0.0005847, allocations: 13.12 kB / 0.6736 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2243, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.002162/0.2265, allocations: 1.595 MB / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.228, allocations: 0.9378 MB / 0.7896 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.759e-05/0.2281, allocations: 7.938 kB / 0.7896 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.2284, allocations: 91.67 kB / 0.7897 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.2286, allocations: 91.69 kB / 0.7898 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.2289, allocations: 99.75 kB / 0.7899 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.2291, allocations: 127.7 kB / 0.79 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.2292, allocations: 29.66 kB / 0.79 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.2294, allocations: 83.67 kB / 0.7901 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.2295, allocations: 71.69 kB / 0.7902 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.2295, allocations: 4 kB / 0.7902 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.81e-05/0.2296, allocations: 39.97 kB / 0.7902 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.738e-05/0.2297, allocations: 47.81 kB / 0.7903 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.641e-05/0.2297, allocations: 57.52 kB / 0.7903 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.23, allocations: 207.8 kB / 0.7905 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.23, allocations: 0 / 0.7905 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.23, allocations: 0 / 0.7905 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.23, allocations: 0 / 0.7905 GB, free: 8.484 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.0007606/0.2307, allocations: 0.5099 MB / 0.791 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.2308, allocations: 12.03 kB / 0.791 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.2309, allocations: 23.67 kB / 0.7911 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.2313, allocations: 290.4 kB / 0.7913 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.2313, allocations: 4 kB / 0.7913 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.2313, allocations: 8 kB / 0.7913 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.2315, allocations: 89.64 kB / 0.7914 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.2315, allocations: 3.984 kB / 0.7914 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.2315, allocations: 0 / 0.7914 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2315, allocations: 0 / 0.7914 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.865e-05/0.2316, allocations: 39.94 kB / 0.7915 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006382/0.2323, allocations: 432.5 kB / 0.7919 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.2325, allocations: 82.55 kB / 0.792 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.2325, allocations: 7.953 kB / 0.792 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.2327, allocations: 83.48 kB / 0.792 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.2327, allocations: 0 / 0.792 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003051/0.233, allocations: 129.6 kB / 0.7922 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.2331, allocations: 55.41 kB / 0.7922 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.2334, allocations: 362.8 kB / 0.7926 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.2334, allocations: 33.69 kB / 0.7926 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.2335, allocations: 140 kB / 0.7927 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.2336, allocations: 23.78 kB / 0.7928 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-06/0.2336, allocations: 0 / 0.7928 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2337, allocations: 338.8 kB / 0.7931 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.722e-05/0.2338, allocations: 51.98 kB / 0.7931 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.2339, allocations: 77.67 kB / 0.7932 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.442e-05/0.234, allocations: 48 kB / 0.7933 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.234, allocations: 4 kB / 0.7933 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002887/0.2343, allocations: 205.2 kB / 0.7935 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2344, allocations: 6.812 kB / 0.7935 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2344, allocations: 0 / 0.7935 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.2344, allocations: 3.938 kB / 0.7935 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.2345, allocations: 23.98 kB / 0.7935 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2345, allocations: 0 / 0.7935 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.855e-05/0.2346, allocations: 12 kB / 0.7935 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.2346, allocations: 16.02 kB / 0.7935 GB, free: 5.199 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,gre.y,$PRE.greHys.greHys.y,greHys.greHys.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.0001264/0.2348, allocations: 149.8 kB / 0.7937 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.2348, allocations: 23.67 kB / 0.7937 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.767e-05/0.2349, allocations: 25.73 kB / 0.7937 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2349, allocations: 8 kB / 0.7937 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2349, allocations: 0 / 0.7937 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.2349, allocations: 0 / 0.7937 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.2351, allocations: 249.4 kB / 0.7939 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2351, allocations: 4 kB / 0.794 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/0.2351, allocations: 4 kB / 0.794 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2351, allocations: 0 / 0.794 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.2351, allocations: 7.953 kB / 0.794 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2351, allocations: 0 / 0.794 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2351, allocations: 0 / 0.794 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.2353, allocations: 136.8 kB / 0.7941 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.2354, allocations: 96.83 kB / 0.7942 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.2355, allocations: 8 kB / 0.7942 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.2355, allocations: 15.94 kB / 0.7942 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.2356, allocations: 11.97 kB / 0.7942 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.2356, allocations: 7.938 kB / 0.7942 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002196/0.2358, allocations: 225.9 kB / 0.7944 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2358, allocations: 0 / 0.7944 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002355/0.2361, allocations: 35.98 kB / 0.7945 GB, free: 4.117 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,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,greHys.greHys.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.0008544/0.2369, allocations: 425.9 kB / 0.7949 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.2372, allocations: 111.8 kB / 0.795 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2372, allocations: 0 / 0.795 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.29e-05/0.2373, allocations: 31.92 kB / 0.795 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.2375, allocations: 44.8 kB / 0.7951 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.2381, allocations: 408.5 kB / 0.7955 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.2384, allocations: 0.7479 MB / 0.7962 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.796e-05/0.2385, allocations: 37.67 kB / 0.7962 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.2385, allocations: 23.44 kB / 0.7962 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2385, allocations: 0 / 0.7962 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of Templates: time 0.005323/0.2439, allocations: 2.536 MB / 0.7987 GB, free: 15.88 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1) Environment - environmentSimulation: