Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.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.Greater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.001236/0.001236, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.738/1.738, allocations: 205.1 MB / 223.1 MB, free: 12.31 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 2.055/2.055, allocations: 292.3 MB / 0.5495 GB, free: 17.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.001439/0.001439, allocations: 67.91 kB / 0.6722 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2831, allocations: 114.6 MB / 0.7841 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.004054/0.2872, allocations: 1.941 MB / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0021/0.2893, allocations: 1.035 MB / 0.787 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002301/0.2896, allocations: 4 kB / 0.787 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005312/0.2902, allocations: 111.5 kB / 0.7871 GB, free: 0.7148 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.0005146/0.2907, allocations: 87.53 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00055/0.2913, allocations: 135 kB / 0.7873 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000435/0.2917, allocations: 215.4 kB / 0.7875 GB, free: 296 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002295/0.292, allocations: 57.89 kB / 0.7876 GB, free: 236 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.2922, allocations: 95.61 kB / 0.7877 GB, free: 140 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.2924, allocations: 95.55 kB / 0.7878 GB, free: 44 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.2924, allocations: 12 kB / 0.7878 GB, free: 32 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4893/0.7817, allocations: 67.83 kB / 0.7878 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.782, allocations: 50.48 kB / 0.7879 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.7821, allocations: 89.61 kB / 0.788 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005669/0.7827, allocations: 284.2 kB / 0.7882 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.7827, allocations: 4.5 kB / 0.7883 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7827, allocations: 0 / 0.7883 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.7827, allocations: 0 / 0.7883 GB, free: 46.13 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001053/0.7838, allocations: 0.5395 MB / 0.7888 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.7838, allocations: 8.812 kB / 0.7888 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.494e-05/0.7839, allocations: 25.53 kB / 0.7888 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.7843, allocations: 301.8 kB / 0.7891 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.7843, allocations: 3.844 kB / 0.7891 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.7844, allocations: 14.69 kB / 0.7891 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.7846, allocations: 93.14 kB / 0.7892 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.7846, allocations: 0 / 0.7892 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.7846, allocations: 5.812 kB / 0.7892 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.7846, allocations: 0.8438 kB / 0.7892 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.7848, allocations: 47.31 kB / 0.7893 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006951/0.7855, allocations: 455 kB / 0.7897 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.7857, allocations: 74.89 kB / 0.7898 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.365e-05/0.7858, allocations: 31.03 kB / 0.7898 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.7859, allocations: 5.781 kB / 0.7898 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.7861, allocations: 83.33 kB / 0.7899 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.7861, allocations: 0 / 0.7899 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003344/0.7864, allocations: 135.1 kB / 0.79 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.7865, allocations: 53.09 kB / 0.7901 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.7868, allocations: 366.8 kB / 0.7904 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.7868, allocations: 31.33 kB / 0.7904 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.27e-05/0.7869, allocations: 141.2 kB / 0.7906 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.787, allocations: 22.22 kB / 0.7906 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.172e-05/0.787, allocations: 44.12 kB / 0.7906 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.099e-05/0.7871, allocations: 336.8 kB / 0.791 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.7873, allocations: 58.47 kB / 0.791 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.7874, allocations: 75.17 kB / 0.7911 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.7875, allocations: 94.67 kB / 0.7912 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7875, allocations: 0 / 0.7912 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002722/0.7878, allocations: 194.8 kB / 0.7914 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.7878, allocations: 11.16 kB / 0.7914 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7878, allocations: 0.5312 kB / 0.7914 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.7879, allocations: 2.625 kB / 0.7914 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.788, allocations: 24.12 kB / 0.7914 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.788, allocations: 4.359 kB / 0.7914 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.294e-05/0.7881, allocations: 18.84 kB / 0.7914 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.7881, allocations: 3.125 kB / 0.7914 GB, free: 44.29 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.0001152/0.7883, allocations: 158.1 kB / 0.7916 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.7883, allocations: 22.34 kB / 0.7916 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.281e-05/0.7883, allocations: 25.59 kB / 0.7916 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.7884, allocations: 5.875 kB / 0.7916 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.7884, allocations: 0 / 0.7916 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.7884, allocations: 2.906 kB / 0.7916 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.7885, allocations: 252.3 kB / 0.7919 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7886, allocations: 1.75 kB / 0.7919 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.113e-05/0.7886, allocations: 2.625 kB / 0.7919 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.7886, allocations: 3.938 kB / 0.7919 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.7886, allocations: 2.625 kB / 0.7919 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.7886, allocations: 4.875 kB / 0.7919 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.7886, allocations: 4.812 kB / 0.7919 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.7888, allocations: 141.8 kB / 0.792 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.7889, allocations: 100 kB / 0.7921 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.7889, allocations: 3.938 kB / 0.7921 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.789, allocations: 12.12 kB / 0.7921 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.7891, allocations: 9.109 kB / 0.7921 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.7891, allocations: 7.406 kB / 0.7921 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000217/0.7893, allocations: 236.1 kB / 0.7924 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7893, allocations: 0 / 0.7924 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002574/0.7896, allocations: 41.72 kB / 0.7924 GB, free: 43.7 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.001132/0.7907, allocations: 406.1 kB / 0.7928 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.791, allocations: 113.3 kB / 0.7929 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.791, allocations: 0 / 0.7929 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.799e-05/0.7911, allocations: 31.42 kB / 0.7929 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.7914, allocations: 55.75 kB / 0.793 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005461/0.792, allocations: 373.4 kB / 0.7933 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.7922, allocations: 0.7466 MB / 0.7941 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.621e-05/0.7923, allocations: 33.25 kB / 0.7941 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.7923, allocations: 27.25 kB / 0.7941 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.7923, allocations: 0 / 0.7941 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.007108/0.7995, allocations: 2.809 MB / 0.7969 GB, free: 42.55 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1)