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.001199/0.001199, allocations: 110.3 kB / 16.37 MB, free: 5.953 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.001204/0.001204, allocations: 190.2 kB / 17.31 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.846/1.846, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.001513/0.001513, allocations: 75.89 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2495, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.003755/0.2533, allocations: 1.937 MB / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.255, allocations: 1.019 MB / 0.7877 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.2551, allocations: 11.88 kB / 0.7877 GB, free: 200 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003847/0.2555, allocations: 103.5 kB / 0.7878 GB, free: 96 kB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.2558, allocations: 95.59 kB / 0.7879 GB, free: 0 / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.4652/0.721, allocations: 116.6 kB / 0.788 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000443/0.7215, allocations: 200.6 kB / 0.7882 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.7217, allocations: 41.88 kB / 0.7882 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.7218, allocations: 96.36 kB / 0.7883 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.722, allocations: 92.78 kB / 0.7884 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.722, allocations: 11.06 kB / 0.7884 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.7222, allocations: 65.25 kB / 0.7885 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.037e-05/0.7223, allocations: 52.88 kB / 0.7885 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.276e-05/0.7224, allocations: 86.91 kB / 0.7886 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.7228, allocations: 275.5 kB / 0.7889 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.7229, allocations: 0 / 0.7889 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.245e-06/0.7229, allocations: 0.6562 kB / 0.7889 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.7229, allocations: 0 / 0.7889 GB, free: 46.44 MB / 0.6544 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.0009311/0.7238, allocations: 0.5353 MB / 0.7894 GB, free: 46 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.7239, allocations: 8.156 kB / 0.7894 GB, free: 46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.606e-05/0.724, allocations: 27.31 kB / 0.7894 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.7243, allocations: 301.4 kB / 0.7897 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.7244, allocations: 7.469 kB / 0.7897 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.7244, allocations: 13.16 kB / 0.7898 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.7246, allocations: 82.05 kB / 0.7898 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.7247, allocations: 3.562 kB / 0.7898 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.7247, allocations: 2.812 kB / 0.7898 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.7247, allocations: 4.25 kB / 0.7898 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.7248, allocations: 38.64 kB / 0.7899 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006621/0.7255, allocations: 428 kB / 0.7903 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.7257, allocations: 78.25 kB / 0.7904 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.009e-05/0.7258, allocations: 28.16 kB / 0.7904 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.7258, allocations: 2.625 kB / 0.7904 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.726, allocations: 80.38 kB / 0.7905 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.726, allocations: 2.625 kB / 0.7905 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.000355/0.7264, allocations: 129.9 kB / 0.7906 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.7264, allocations: 59.34 kB / 0.7906 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.7268, allocations: 363.4 kB / 0.791 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.7268, allocations: 32.27 kB / 0.791 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.27e-05/0.7269, allocations: 134.6 kB / 0.7912 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.7269, allocations: 23.66 kB / 0.7912 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/0.727, allocations: 40.77 kB / 0.7912 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.7271, allocations: 337.1 kB / 0.7915 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.7272, allocations: 53.42 kB / 0.7916 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.7273, allocations: 78.67 kB / 0.7917 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.7275, allocations: 90.56 kB / 0.7917 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7275, allocations: 0.5625 kB / 0.7917 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002989/0.7278, allocations: 192.7 kB / 0.7919 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.7278, allocations: 6.125 kB / 0.7919 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.7278, allocations: 2.625 kB / 0.7919 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.7278, allocations: 1.188 kB / 0.7919 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.728, allocations: 28.02 kB / 0.792 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.728, allocations: 6.672 kB / 0.792 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.53e-05/0.7281, allocations: 15.17 kB / 0.792 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.7281, allocations: 11.95 kB / 0.792 GB, free: 44.61 MB / 0.6544 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 ($PRE.ram.tab.nextTimeEvent,$whenCondition1,ram.tab.nextTimeEventScaled,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEvent,greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.7282, allocations: 152.2 kB / 0.7921 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.7283, allocations: 22.22 kB / 0.7922 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.098e-05/0.7283, allocations: 22.36 kB / 0.7922 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.7283, allocations: 2.625 kB / 0.7922 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.7284, allocations: 12.23 kB / 0.7922 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7284, allocations: 0 / 0.7922 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.7286, allocations: 244.7 kB / 0.7924 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.7286, allocations: 0 / 0.7924 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.139e-05/0.7286, allocations: 4.281 kB / 0.7924 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7286, allocations: 2.625 kB / 0.7924 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.7286, allocations: 2.297 kB / 0.7924 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7286, allocations: 5.188 kB / 0.7924 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7286, allocations: 6.562 kB / 0.7925 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.7288, allocations: 137.5 kB / 0.7926 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.7289, allocations: 98.86 kB / 0.7927 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.729, allocations: 2.953 kB / 0.7927 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/0.729, allocations: 8.391 kB / 0.7927 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.7291, allocations: 19.97 kB / 0.7927 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.7291, allocations: 5.672 kB / 0.7927 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002088/0.7293, allocations: 229.2 kB / 0.7929 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7293, allocations: 3.5 kB / 0.7929 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000248/0.7296, allocations: 43.31 kB / 0.793 GB, free: 44.01 MB / 0.6544 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 (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.001149/0.7308, allocations: 424.2 kB / 0.7934 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002518/0.731, allocations: 102.1 kB / 0.7935 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.731, allocations: 0 / 0.7935 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.703e-05/0.7311, allocations: 33.66 kB / 0.7935 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.7315, allocations: 65.98 kB / 0.7936 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006615/0.7321, allocations: 395.2 kB / 0.794 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.7324, allocations: 0.7422 MB / 0.7947 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.418e-05/0.7324, allocations: 22.25 kB / 0.7947 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7324, allocations: 4 kB / 0.7947 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.005786/0.7382, allocations: 3.047 MB / 0.7977 GB, free: 42.77 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.makefile (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)