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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 289.7 MB / 302.3 MB, free: 2.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 181.8 kB / 371.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.93/1.93, allocations: 205.2 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 92.44 kB / 0.745 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.458e-05/3.461e-05, allocations: 4 kB / 0.8663 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2827, allocations: 116.3 MB / 0.9798 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8129/1.096, allocations: 142.4 MB / 1.119 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/1.096, allocations: 75.86 kB / 1.119 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01646/1.112, allocations: 6.937 MB / 1.126 GB, free: 38.37 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.333e-06/1.112, allocations: 2.953 kB / 1.126 GB, free: 38.37 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.788e-05/1.113, allocations: 4 kB / 1.126 GB, free: 38.37 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.0004818/1.113, allocations: 489.2 kB / 1.126 GB, free: 37.89 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/1.113, allocations: 12.03 kB / 1.126 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.772e-05/1.113, allocations: 25.44 kB / 1.126 GB, free: 37.85 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000499/1.114, allocations: 332.9 kB / 1.127 GB, free: 37.56 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/1.114, allocations: 8 kB / 1.127 GB, free: 37.55 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/1.114, allocations: 7.812 kB / 1.127 GB, free: 37.55 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/1.114, allocations: 83.12 kB / 1.127 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/1.114, allocations: 0 / 1.127 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/1.114, allocations: 3.812 kB / 1.127 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/1.114, allocations: 4 kB / 1.127 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.819e-05/1.114, allocations: 34.38 kB / 1.127 GB, free: 37.46 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/1.115, allocations: 446.9 kB / 1.127 GB, free: 37.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/1.115, allocations: 77.72 kB / 1.127 GB, free: 37.03 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/1.115, allocations: 35.84 kB / 1.127 GB, free: 37 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/1.115, allocations: 0 / 1.127 GB, free: 37 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/1.115, allocations: 86.02 kB / 1.127 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/1.115, allocations: 0 / 1.127 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002211/1.115, allocations: 104.5 kB / 1.127 GB, free: 36.84 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/1.115, allocations: 52.16 kB / 1.127 GB, free: 36.78 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/1.115, allocations: 330.8 kB / 1.128 GB, free: 36.54 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/1.116, allocations: 37.58 kB / 1.128 GB, free: 36.5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/1.116, allocations: 140.2 kB / 1.128 GB, free: 36.4 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/1.116, allocations: 22.81 kB / 1.128 GB, free: 36.39 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-06/1.116, allocations: 0 / 1.128 GB, free: 36.39 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.034e-05/1.116, allocations: 337.2 kB / 1.128 GB, free: 36.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.171e-05/1.116, allocations: 62.31 kB / 1.128 GB, free: 36.03 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.131e-05/1.116, allocations: 94.73 kB / 1.128 GB, free: 35.96 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.62e-05/1.116, allocations: 70.53 kB / 1.129 GB, free: 35.92 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.116, allocations: 0 / 1.129 GB, free: 35.92 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000251/1.116, allocations: 213.5 kB / 1.129 GB, free: 35.77 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/1.116, allocations: 4 kB / 1.129 GB, free: 35.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.116, allocations: 0.9375 kB / 1.129 GB, free: 35.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/1.116, allocations: 7.891 kB / 1.129 GB, free: 35.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/1.116, allocations: 27.16 kB / 1.129 GB, free: 35.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/1.116, allocations: 0 / 1.129 GB, free: 35.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/1.117, allocations: 27.23 kB / 1.129 GB, free: 35.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/1.117, allocations: 7.562 kB / 1.129 GB, free: 35.71 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 () * 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 5.578e-05/1.117, allocations: 116.2 kB / 1.129 GB, free: 35.6 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/1.117, allocations: 21.12 kB / 1.129 GB, free: 35.58 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/1.117, allocations: 120.9 kB / 1.129 GB, free: 35.49 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/1.117, allocations: 0.8125 kB / 1.129 GB, free: 35.49 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.117, allocations: 3.953 kB / 1.129 GB, free: 35.49 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/1.117, allocations: 0 / 1.129 GB, free: 35.49 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/1.117, allocations: 251.4 kB / 1.129 GB, free: 35.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.117, allocations: 0 / 1.129 GB, free: 35.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-05/1.117, allocations: 8 kB / 1.129 GB, free: 35.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/1.117, allocations: 4 kB / 1.129 GB, free: 35.25 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/1.117, allocations: 3.562 kB / 1.129 GB, free: 35.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.117, allocations: 5.344 kB / 1.129 GB, free: 35.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/1.117, allocations: 0 / 1.129 GB, free: 35.24 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/1.117, allocations: 139.5 kB / 1.129 GB, free: 35.11 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/1.117, allocations: 100.7 kB / 1.13 GB, free: 35 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/1.117, allocations: 8.047 kB / 1.13 GB, free: 35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.32e-05/1.117, allocations: 11.33 kB / 1.13 GB, free: 34.99 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/1.117, allocations: 11.33 kB / 1.13 GB, free: 34.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/1.117, allocations: 4.484 kB / 1.13 GB, free: 34.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000159/1.118, allocations: 231.3 kB / 1.13 GB, free: 34.81 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.71e-07/1.118, allocations: 0 / 1.13 GB, free: 34.81 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002279/1.118, allocations: 55.36 kB / 1.13 GB, free: 34.77 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) * 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.0008242/1.119, allocations: 408.9 kB / 1.13 GB, free: 34.51 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001858/1.119, allocations: 105.6 kB / 1.13 GB, free: 34.44 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.119, allocations: 0 / 1.13 GB, free: 34.44 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.699e-05/1.119, allocations: 31.19 kB / 1.13 GB, free: 34.42 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/1.119, allocations: 51 kB / 1.13 GB, free: 34.39 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/1.12, allocations: 283.5 kB / 1.131 GB, free: 34.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/1.12, allocations: 0.7482 MB / 1.131 GB, free: 33.43 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.34e-05/1.12, allocations: 31.91 kB / 1.131 GB, free: 33.41 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/1.12, allocations: 30.84 kB / 1.131 GB, free: 33.39 MB / 0.7448 GB Notification: Performance of SimCode: time 3.71e-07/1.12, allocations: 0 / 1.131 GB, free: 33.39 MB / 0.7448 GB Notification: Performance of Templates: time 0.005252/1.125, allocations: 2.675 MB / 1.134 GB, free: 31.84 MB / 0.7448 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)