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.001162/0.001162, allocations: 100.4 kB / 16.27 MB, free: 5.969 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.001139/0.00114, allocations: 186.9 kB / 17.2 MB, free: 5.602 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.468/1.468, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.777/1.777, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.001763/0.001763, allocations: 75.89 kB / 0.6722 GB, free: 6.527 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3153, allocations: 114.5 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.004227/0.3196, allocations: 1.918 MB / 0.7859 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.3216, allocations: 1.019 MB / 0.7869 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.3218, allocations: 7.938 kB / 0.7869 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004809/0.3223, allocations: 115.5 kB / 0.787 GB, free: 0.7812 MB / 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.0002988/0.3226, allocations: 91.58 kB / 0.7871 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.323, allocations: 135.6 kB / 0.7872 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.3233, allocations: 199.4 kB / 0.7874 GB, free: 372 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.3235, allocations: 49.64 kB / 0.7875 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.3236, allocations: 83.64 kB / 0.7876 GB, free: 236 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.3237, allocations: 95.59 kB / 0.7877 GB, free: 140 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.3238, allocations: 8 kB / 0.7877 GB, free: 132 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.3239, allocations: 67.95 kB / 0.7877 GB, free: 64 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.408e-05/0.324, allocations: 55.78 kB / 0.7878 GB, free: 8 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.5208/0.8448, allocations: 77.86 kB / 0.7879 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005241/0.8454, allocations: 270 kB / 0.7881 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.8454, allocations: 0 / 0.7881 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.817e-06/0.8454, allocations: 1.344 kB / 0.7881 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.8454, allocations: 0.8438 kB / 0.7881 GB, free: 46.19 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.0008798/0.8463, allocations: 0.5314 MB / 0.7886 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.8464, allocations: 9.438 kB / 0.7886 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.902e-05/0.8465, allocations: 24.94 kB / 0.7887 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.8468, allocations: 302.8 kB / 0.789 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.8468, allocations: 7.25 kB / 0.789 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.8469, allocations: 6.25 kB / 0.789 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.847, allocations: 85.11 kB / 0.789 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.8471, allocations: 0 / 0.789 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.8471, allocations: 5.656 kB / 0.7891 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.8471, allocations: 0 / 0.7891 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.8472, allocations: 44.62 kB / 0.7891 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005967/0.8478, allocations: 420.3 kB / 0.7895 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.848, allocations: 82.16 kB / 0.7896 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.883e-05/0.8481, allocations: 26.69 kB / 0.7896 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.8481, allocations: 8.484 kB / 0.7896 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.8483, allocations: 79.23 kB / 0.7897 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.8483, allocations: 0 / 0.7897 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003383/0.8487, allocations: 131.4 kB / 0.7898 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.8487, allocations: 58.53 kB / 0.7899 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.849, allocations: 369.7 kB / 0.7902 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.8491, allocations: 29.64 kB / 0.7902 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.8492, allocations: 139 kB / 0.7904 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.8492, allocations: 16.78 kB / 0.7904 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.606e-05/0.8493, allocations: 42.59 kB / 0.7904 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.862e-05/0.8493, allocations: 335.8 kB / 0.7908 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.8494, allocations: 54.73 kB / 0.7908 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.8496, allocations: 81.41 kB / 0.7909 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.8497, allocations: 89.05 kB / 0.791 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.8497, allocations: 4.812 kB / 0.791 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002662/0.85, allocations: 189.9 kB / 0.7912 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.85, allocations: 5.25 kB / 0.7912 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.85, allocations: 2.625 kB / 0.7912 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.8501, allocations: 2.562 kB / 0.7912 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.8502, allocations: 23.62 kB / 0.7912 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.8502, allocations: 7.156 kB / 0.7912 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.8503, allocations: 27.58 kB / 0.7912 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.8504, allocations: 5.25 kB / 0.7912 GB, free: 44.36 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.0001142/0.8505, allocations: 152.2 kB / 0.7914 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.8505, allocations: 23.28 kB / 0.7914 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.681e-05/0.8506, allocations: 26.7 kB / 0.7914 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.8506, allocations: 0.8438 kB / 0.7914 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.8506, allocations: 4.844 kB / 0.7914 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.8506, allocations: 0 / 0.7914 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.8508, allocations: 245.5 kB / 0.7917 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.8508, allocations: 1.906 kB / 0.7917 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.8508, allocations: 7.703 kB / 0.7917 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.8508, allocations: 2.625 kB / 0.7917 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.8508, allocations: 0 / 0.7917 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.8509, allocations: 0 / 0.7917 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.8509, allocations: 6.562 kB / 0.7917 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.8511, allocations: 145.9 kB / 0.7918 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.8511, allocations: 92.8 kB / 0.7919 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.8512, allocations: 4.938 kB / 0.7919 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/0.8512, allocations: 12.56 kB / 0.7919 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.8513, allocations: 15.38 kB / 0.7919 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.8513, allocations: 3.625 kB / 0.7919 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001791/0.8515, allocations: 227 kB / 0.7922 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8515, allocations: 1.031 kB / 0.7922 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000253/0.8518, allocations: 46.89 kB / 0.7922 GB, free: 43.76 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.0009966/0.8528, allocations: 417.1 kB / 0.7926 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.853, allocations: 109.6 kB / 0.7927 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8531, allocations: 0.7188 kB / 0.7927 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.702e-05/0.8531, allocations: 32.28 kB / 0.7927 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.8535, allocations: 64.58 kB / 0.7928 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005962/0.8541, allocations: 396.7 kB / 0.7932 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.8543, allocations: 0.7444 MB / 0.7939 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/0.8543, allocations: 22.05 kB / 0.7939 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of SimCode: time 4.51e-07/0.8543, allocations: 3.938 kB / 0.7939 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.00592/0.8603, allocations: 3.059 MB / 0.7969 GB, free: 42.53 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)