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.001168/0.001168, allocations: 100.5 kB / 16.35 MB, free: 6.305 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.001076/0.001076, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.373/1.373, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.813/1.813, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.00139/0.00139, allocations: 67.91 kB / 0.6729 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2666, allocations: 114.5 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.003725/0.2703, allocations: 1.949 MB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.2721, allocations: 1.035 MB / 0.7877 GB, free: 132 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.2722, allocations: 4 kB / 0.7877 GB, free: 128 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004672/0.2728, allocations: 107.5 kB / 0.7878 GB, free: 20 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.4811/0.7539, allocations: 89.47 kB / 0.7879 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006207/0.7545, allocations: 132 kB / 0.788 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.755, allocations: 216.7 kB / 0.7882 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.7552, allocations: 58 kB / 0.7883 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.7554, allocations: 92.8 kB / 0.7884 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.7555, allocations: 96.66 kB / 0.7885 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.7556, allocations: 11.16 kB / 0.7885 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.7558, allocations: 65.73 kB / 0.7885 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.947e-05/0.7559, allocations: 53.53 kB / 0.7886 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.53e-05/0.7559, allocations: 94.28 kB / 0.7887 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003589/0.7563, allocations: 278.7 kB / 0.789 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.7563, allocations: 0.7188 kB / 0.789 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7563, allocations: 0 / 0.789 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.7563, allocations: 5.281 kB / 0.789 GB, free: 46.53 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.0007073/0.7571, allocations: 0.5325 MB / 0.7895 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.7571, allocations: 10.34 kB / 0.7895 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.356e-05/0.7572, allocations: 21.28 kB / 0.7895 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.7576, allocations: 313.8 kB / 0.7898 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.7576, allocations: 10.45 kB / 0.7898 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.7576, allocations: 5.531 kB / 0.7898 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.7578, allocations: 104.9 kB / 0.7899 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.7578, allocations: 0 / 0.7899 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.7579, allocations: 0 / 0.7899 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.7579, allocations: 2.875 kB / 0.7899 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.758, allocations: 50.39 kB / 0.79 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/0.7586, allocations: 446.2 kB / 0.7904 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.7589, allocations: 83.67 kB / 0.7905 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.794e-05/0.7589, allocations: 29.56 kB / 0.7905 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.759, allocations: 5.125 kB / 0.7905 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.7591, allocations: 76.17 kB / 0.7906 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.7591, allocations: 0 / 0.7906 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003295/0.7594, allocations: 133.9 kB / 0.7907 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.7595, allocations: 51.41 kB / 0.7908 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/0.7598, allocations: 371.4 kB / 0.7911 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.7598, allocations: 25.7 kB / 0.7911 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.7599, allocations: 149 kB / 0.7913 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.76, allocations: 20.97 kB / 0.7913 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.558e-05/0.76, allocations: 50.7 kB / 0.7913 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.936e-05/0.7601, allocations: 336.7 kB / 0.7917 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.7602, allocations: 55 kB / 0.7917 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.7603, allocations: 77.59 kB / 0.7918 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.7605, allocations: 92.06 kB / 0.7919 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.7605, allocations: 0.8125 kB / 0.7919 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002764/0.7608, allocations: 191.6 kB / 0.7921 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.7608, allocations: 9.188 kB / 0.7921 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.7608, allocations: 4.328 kB / 0.7921 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.7609, allocations: 1.062 kB / 0.7921 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.761, allocations: 31.44 kB / 0.7921 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.761, allocations: 0 / 0.7921 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.864e-05/0.7611, allocations: 16.28 kB / 0.7921 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.7611, allocations: 5.688 kB / 0.7921 GB, free: 44.68 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.0001117/0.7612, allocations: 152.3 kB / 0.7923 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.7613, allocations: 27.02 kB / 0.7923 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.465e-05/0.7613, allocations: 24.8 kB / 0.7923 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.7613, allocations: 3.562 kB / 0.7923 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.7614, allocations: 1.156 kB / 0.7923 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.7614, allocations: 0 / 0.7923 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.7616, allocations: 249.6 kB / 0.7926 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.7616, allocations: 5.094 kB / 0.7926 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.7616, allocations: 2.625 kB / 0.7926 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.7616, allocations: 7.125 kB / 0.7926 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.7616, allocations: 2.719 kB / 0.7926 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.7616, allocations: 0 / 0.7926 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7616, allocations: 0 / 0.7926 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.7618, allocations: 142 kB / 0.7927 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.7619, allocations: 98.66 kB / 0.7928 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.762, allocations: 6.562 kB / 0.7928 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.559e-05/0.762, allocations: 8.344 kB / 0.7928 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.7621, allocations: 13.14 kB / 0.7928 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.7621, allocations: 6 kB / 0.7928 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001936/0.7623, allocations: 234.4 kB / 0.7931 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7623, allocations: 0 / 0.7931 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002459/0.7626, allocations: 45.52 kB / 0.7931 GB, free: 44.09 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.001021/0.7636, allocations: 426.3 kB / 0.7935 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002448/0.7639, allocations: 114.8 kB / 0.7936 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.7639, allocations: 0 / 0.7936 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.547e-05/0.764, allocations: 27.27 kB / 0.7937 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.7643, allocations: 51.67 kB / 0.7937 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005942/0.7649, allocations: 404.3 kB / 0.7941 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.7651, allocations: 0.7525 MB / 0.7948 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.7651, allocations: 23.14 kB / 0.7948 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.7652, allocations: 0 / 0.7948 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of Templates: time 0.005626/0.7708, allocations: 3.087 MB / 0.7979 GB, free: 42.83 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1)