Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.607/1.607, 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.0009259/0.000926, allocations: 188.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.315/1.315, allocations: 223.2 MB / 0.6626 GB, free: 4.344 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.0007414/0.0007413, allocations: 100 kB / 0.7808 GB, free: 43.59 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003677, allocations: 12 kB / 0.9088 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5903/0.5907, allocations: 120.3 MB / 1.026 GB, free: 56.32 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1868/0.7776, allocations: 145.2 MB / 1.168 GB, free: 13 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.7778, allocations: 77.97 kB / 1.168 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01852/0.7963, allocations: 7.155 MB / 1.175 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.308e-06/0.7964, allocations: 0 / 1.175 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.584e-05/0.7964, allocations: 7.938 kB / 1.175 GB, free: 5.84 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007321/0.7971, allocations: 0.5295 MB / 1.176 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.7972, allocations: 12.03 kB / 1.176 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.508e-05/0.7973, allocations: 24.66 kB / 1.176 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005799/0.7979, allocations: 339.6 kB / 1.176 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.7979, allocations: 8.375 kB / 1.176 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.7979, allocations: 4.375 kB / 1.176 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.7981, allocations: 80.72 kB / 1.176 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.7981, allocations: 7.938 kB / 1.176 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.7981, allocations: 0 / 1.176 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.7981, allocations: 0 / 1.176 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.7982, allocations: 55.91 kB / 1.176 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006516/0.7989, allocations: 444.5 kB / 1.177 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.7991, allocations: 78.66 kB / 1.177 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.876e-05/0.7992, allocations: 37.77 kB / 1.177 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.7992, allocations: 4 kB / 1.177 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.7994, allocations: 79.38 kB / 1.177 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.7994, allocations: 0 / 1.177 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003248/0.7997, allocations: 133.4 kB / 1.177 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.7998, allocations: 51.41 kB / 1.177 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003945/0.8002, allocations: 366.8 kB / 1.177 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.8002, allocations: 33.7 kB / 1.177 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.289e-05/0.8003, allocations: 147.9 kB / 1.178 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.8003, allocations: 15.81 kB / 1.178 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.8004, allocations: 4 kB / 1.178 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.8005, allocations: 338.8 kB / 1.178 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.8006, allocations: 71.95 kB / 1.178 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.8008, allocations: 90.45 kB / 1.178 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.801, allocations: 115.8 kB / 1.178 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.801, allocations: 0 / 1.178 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003483/0.8013, allocations: 213.3 kB / 1.178 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.8013, allocations: 8 kB / 1.178 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.8014, allocations: 0 / 1.178 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.8014, allocations: 0 / 1.178 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.8015, allocations: 27.92 kB / 1.178 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.8015, allocations: 0 / 1.178 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.8017, allocations: 27.89 kB / 1.178 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.8017, allocations: 8 kB / 1.178 GB, free: 2.309 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.0001432/0.8018, allocations: 156.9 kB / 1.179 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.8019, allocations: 19.72 kB / 1.179 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.8021, allocations: 119.3 kB / 1.179 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.8021, allocations: 7.984 kB / 1.179 GB, free: 2 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.8022, allocations: 0 / 1.179 GB, free: 2 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.8022, allocations: 3.938 kB / 1.179 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.8024, allocations: 253.5 kB / 1.179 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.8024, allocations: 0 / 1.179 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.137e-05/0.8024, allocations: 4 kB / 1.179 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.8024, allocations: 5.25 kB / 1.179 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.8024, allocations: 4 kB / 1.179 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.8025, allocations: 4 kB / 1.179 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.8025, allocations: 3.984 kB / 1.179 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.8027, allocations: 140.7 kB / 1.179 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.997e-05/0.8028, allocations: 108.8 kB / 1.179 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.8028, allocations: 4 kB / 1.179 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.8029, allocations: 11.98 kB / 1.179 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.8029, allocations: 11.98 kB / 1.179 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.803, allocations: 7.938 kB / 1.179 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002248/0.8032, allocations: 229.9 kB / 1.179 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8032, allocations: 0 / 1.179 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002684/0.8035, allocations: 48.06 kB / 1.18 GB, free: 1.094 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.0009391/0.8044, allocations: 452.2 kB / 1.18 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002397/0.8047, allocations: 107.9 kB / 1.18 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.8047, allocations: 0 / 1.18 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.105e-05/0.8048, allocations: 35.92 kB / 1.18 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.8051, allocations: 53.67 kB / 1.18 GB, free: 0.6406 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006674/0.8058, allocations: 421 kB / 1.181 GB, free: 208 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.8062, allocations: 0.7479 MB / 1.181 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.541e-05/0.8063, allocations: 25.55 kB / 1.181 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.139e-05/0.8063, allocations: 31.36 kB / 1.181 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of SimCode: time 2.5e-07/0.8063, allocations: 0 / 1.181 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of Templates: time 0.006099/0.8124, allocations: 2.705 MB / 1.184 GB, free: 12.7 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)