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.002046/0.002045, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002942/0.002942, allocations: 195.1 kB / 16.14 MB, free: 6.738 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.527/1.527, allocations: 205.1 MB / 222 MB, free: 5.031 MB / 174.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.96/1.96, allocations: 292.3 MB / 0.5484 GB, free: 13.7 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.001323/0.001323, allocations: 74.62 kB / 0.6708 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2602, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.003573/0.2638, allocations: 1.983 MB / 0.7846 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.2654, allocations: 1.007 MB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.2656, allocations: 11.94 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004101/0.266, allocations: 103.7 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.2662, allocations: 75.73 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.2666, allocations: 122.6 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.2668, allocations: 187.5 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.2669, allocations: 41.67 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.2671, allocations: 79.56 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.2672, allocations: 91.59 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.2672, allocations: 4 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.2674, allocations: 63.95 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.242e-05/0.2675, allocations: 51.77 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.643e-05/0.2675, allocations: 75.47 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.2678, allocations: 275.3 kB / 0.7867 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2678, allocations: 0 / 0.7867 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2678, allocations: 0 / 0.7867 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.2679, allocations: 0 / 0.7867 GB, free: 9.836 MB / 0.6075 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.00082/0.2687, allocations: 0.5294 MB / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.2687, allocations: 8.031 kB / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.2688, allocations: 28.66 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.2692, allocations: 299.7 kB / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.2692, allocations: 8.375 kB / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.2692, allocations: 11.88 kB / 0.7876 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.2694, allocations: 81.66 kB / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2694, allocations: 0 / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.2694, allocations: 0 / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.2694, allocations: 4 kB / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.2696, allocations: 43.97 kB / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006137/0.2702, allocations: 416.5 kB / 0.7881 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.2704, allocations: 86.66 kB / 0.7882 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.49e-05/0.2705, allocations: 24.86 kB / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.2705, allocations: 0 / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.2707, allocations: 83.3 kB / 0.7883 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.2707, allocations: 0 / 0.7883 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003383/0.2711, allocations: 133.3 kB / 0.7884 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.2711, allocations: 55.41 kB / 0.7885 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/0.2715, allocations: 362.9 kB / 0.7888 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.2715, allocations: 29.7 kB / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.776e-05/0.2716, allocations: 140 kB / 0.789 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.2716, allocations: 23.78 kB / 0.789 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.536e-05/0.2717, allocations: 41.7 kB / 0.7891 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.2718, allocations: 338.8 kB / 0.7894 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.2719, allocations: 51.98 kB / 0.7894 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.2721, allocations: 81.62 kB / 0.7895 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.2722, allocations: 96.92 kB / 0.7896 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2723, allocations: 3.938 kB / 0.7896 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003089/0.2726, allocations: 193.2 kB / 0.7898 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.2726, allocations: 8 kB / 0.7898 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.2726, allocations: 0 / 0.7898 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.2726, allocations: 7.969 kB / 0.7898 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.2727, allocations: 27.98 kB / 0.7898 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.2728, allocations: 0 / 0.7898 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.2729, allocations: 19.89 kB / 0.7898 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.2729, allocations: 4 kB / 0.7898 GB, free: 6.414 MB / 0.6075 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.0001218/0.273, allocations: 155.4 kB / 0.79 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.2731, allocations: 23.72 kB / 0.79 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.2731, allocations: 22.05 kB / 0.79 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2731, allocations: 7.938 kB / 0.79 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2731, allocations: 4 kB / 0.7901 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2732, allocations: 0 / 0.7901 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.2734, allocations: 241.6 kB / 0.7903 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2734, allocations: 0 / 0.7903 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.455e-05/0.2734, allocations: 4 kB / 0.7903 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2734, allocations: 0 / 0.7903 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.2735, allocations: 7.984 kB / 0.7903 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.2735, allocations: 3.938 kB / 0.7903 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2735, allocations: 0 / 0.7903 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.2737, allocations: 144.7 kB / 0.7904 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-05/0.2738, allocations: 100.9 kB / 0.7905 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.2738, allocations: 4 kB / 0.7905 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.022e-05/0.2739, allocations: 7.938 kB / 0.7905 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.274, allocations: 15.97 kB / 0.7906 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-06/0.274, allocations: 0 / 0.7906 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002211/0.2742, allocations: 229.9 kB / 0.7908 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2743, allocations: 4 kB / 0.7908 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002672/0.2745, allocations: 44.02 kB / 0.7908 GB, free: 5.324 MB / 0.6075 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.001111/0.2756, allocations: 420.8 kB / 0.7912 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002812/0.2759, allocations: 107.9 kB / 0.7913 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2759, allocations: 0 / 0.7913 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.148e-05/0.276, allocations: 27.94 kB / 0.7914 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.2764, allocations: 59.27 kB / 0.7914 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006189/0.277, allocations: 413.2 kB / 0.7918 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.2773, allocations: 0.744 MB / 0.7925 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.625e-05/0.2774, allocations: 29.47 kB / 0.7926 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.2775, allocations: 19.44 kB / 0.7926 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of SimCode: time 4e-07/0.2775, allocations: 0 / 0.7926 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of Templates: time 0.005863/0.2833, allocations: 2.641 MB / 0.7952 GB, free: 1 MB / 0.6075 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)