Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.604/1.604, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 184.4 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.2 MB / 0.6626 GB, free: 4.375 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007303/0.0007303, allocations: 94.86 kB / 0.7808 GB, free: 43.5 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003933, allocations: 15.98 kB / 0.9088 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5851/0.5856, allocations: 120.3 MB / 1.026 GB, free: 56.32 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1846/0.7702, allocations: 145.2 MB / 1.168 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.7705, allocations: 85.31 kB / 1.168 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01874/0.7893, allocations: 7.248 MB / 1.175 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7893, allocations: 0 / 1.175 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.286e-05/0.7894, allocations: 4 kB / 1.175 GB, free: 5.715 MB / 0.7448 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.0007926/0.7902, allocations: 0.5334 MB / 1.176 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.7902, allocations: 8.031 kB / 1.176 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.329e-05/0.7903, allocations: 24.66 kB / 1.176 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005349/0.7908, allocations: 335.7 kB / 1.176 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.7909, allocations: 4.375 kB / 1.176 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.7909, allocations: 16.31 kB / 1.176 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.7911, allocations: 94.2 kB / 1.176 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.7911, allocations: 3.938 kB / 1.176 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.7911, allocations: 8 kB / 1.176 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.7911, allocations: 3.703 kB / 1.176 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.7913, allocations: 55.91 kB / 1.176 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007484/0.792, allocations: 472.3 kB / 1.177 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.7923, allocations: 78.61 kB / 1.177 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.347e-05/0.7923, allocations: 32.84 kB / 1.177 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.7924, allocations: 8 kB / 1.177 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.7925, allocations: 75.36 kB / 1.177 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.7925, allocations: 0 / 1.177 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003139/0.7928, allocations: 137.5 kB / 1.177 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.7929, allocations: 55.34 kB / 1.177 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000394/0.7933, allocations: 370.9 kB / 1.178 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.7933, allocations: 33.7 kB / 1.178 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.7934, allocations: 147.9 kB / 1.178 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.7935, allocations: 19.8 kB / 1.178 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.7935, allocations: 4 kB / 1.178 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.7936, allocations: 334.8 kB / 1.178 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.7938, allocations: 67.97 kB / 1.178 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.7939, allocations: 92.56 kB / 1.178 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.7941, allocations: 107.3 kB / 1.178 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.7941, allocations: 3.938 kB / 1.178 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003491/0.7945, allocations: 217.2 kB / 1.179 GB, free: 2.199 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.7945, allocations: 4 kB / 1.179 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.7945, allocations: 4 kB / 1.179 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.7945, allocations: 3.938 kB / 1.179 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.7946, allocations: 27.92 kB / 1.179 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.7947, allocations: 4 kB / 1.179 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.7948, allocations: 19.92 kB / 1.179 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.7948, allocations: 12 kB / 1.179 GB, free: 2.125 MB / 0.7448 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.000136/0.7949, allocations: 151.2 kB / 1.179 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.795, allocations: 23.72 kB / 1.179 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.7952, allocations: 123.3 kB / 1.179 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.7953, allocations: 7.938 kB / 1.179 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7953, allocations: 4 kB / 1.179 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.7953, allocations: 0 / 1.179 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.7955, allocations: 253.5 kB / 1.179 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7955, allocations: 0 / 1.179 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.7956, allocations: 11.94 kB / 1.179 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.7956, allocations: 0 / 1.179 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.7956, allocations: 4 kB / 1.179 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.7956, allocations: 3.938 kB / 1.179 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.7956, allocations: 0 / 1.179 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.7958, allocations: 148.8 kB / 1.179 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-05/0.7959, allocations: 100.8 kB / 1.179 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.796, allocations: 7.984 kB / 1.179 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.796, allocations: 11.94 kB / 1.179 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.7961, allocations: 15.97 kB / 1.179 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.7961, allocations: 0 / 1.179 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000244/0.7964, allocations: 237.9 kB / 1.18 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7964, allocations: 4 kB / 1.18 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002552/0.7966, allocations: 51.94 kB / 1.18 GB, free: 0.8906 MB / 0.7448 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 (greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0009732/0.7976, allocations: 444.8 kB / 1.18 GB, free: 0.6445 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.7979, allocations: 107.9 kB / 1.18 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7979, allocations: 0 / 1.18 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.288e-05/0.798, allocations: 35.92 kB / 1.18 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.7983, allocations: 48.92 kB / 1.18 GB, free: 460 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006617/0.799, allocations: 425.5 kB / 1.181 GB, free: 4 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.7993, allocations: 0.7479 MB / 1.181 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001259/0.7995, allocations: 37.91 kB / 1.181 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.7995, allocations: 23.44 kB / 1.182 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of SimCode: time 2.61e-07/0.7995, allocations: 0 / 1.182 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of Templates: time 0.006253/0.8058, allocations: 2.7 MB / 1.184 GB, free: 12.5 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1)