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.001804/0.001804, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002213/0.002213, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.691/1.691, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.686/1.686, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001538/0.001538, allocations: 71.69 kB / 0.6715 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3422, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.003456/0.3457, allocations: 1.92 MB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.3474, allocations: 1.036 MB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.3476, allocations: 0 / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000391/0.348, allocations: 103.6 kB / 0.7864 GB, free: 10.37 MB / 0.6075 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.0002602/0.3482, allocations: 95.56 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.3486, allocations: 127.2 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.3488, allocations: 203.4 kB / 0.7868 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.349, allocations: 45.66 kB / 0.7868 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.3491, allocations: 87.62 kB / 0.7869 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.3493, allocations: 95.61 kB / 0.787 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.3493, allocations: 8 kB / 0.787 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.3495, allocations: 63.97 kB / 0.7871 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.3496, allocations: 55.83 kB / 0.7871 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.3497, allocations: 87.34 kB / 0.7872 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003792/0.3501, allocations: 267.3 kB / 0.7875 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3501, allocations: 4 kB / 0.7875 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3501, allocations: 0 / 0.7875 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.3501, allocations: 0 / 0.7875 GB, free: 9.254 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.0009592/0.3511, allocations: 0.5294 MB / 0.788 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3511, allocations: 8.031 kB / 0.788 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.867e-05/0.3512, allocations: 24.66 kB / 0.788 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.3516, allocations: 307.7 kB / 0.7883 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3517, allocations: 4.312 kB / 0.7883 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.3517, allocations: 15.94 kB / 0.7883 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.3519, allocations: 73.66 kB / 0.7884 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3519, allocations: 4 kB / 0.7884 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3519, allocations: 4 kB / 0.7884 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.3519, allocations: 3.984 kB / 0.7884 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.352, allocations: 43.97 kB / 0.7884 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000664/0.3527, allocations: 420.5 kB / 0.7888 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.353, allocations: 82.66 kB / 0.7889 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.555e-05/0.353, allocations: 24.86 kB / 0.7889 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.3531, allocations: 7.984 kB / 0.789 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.3533, allocations: 75.33 kB / 0.789 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.3533, allocations: 4 kB / 0.789 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003581/0.3536, allocations: 137.3 kB / 0.7892 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.3537, allocations: 51.41 kB / 0.7892 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.3541, allocations: 362.9 kB / 0.7896 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.3541, allocations: 29.7 kB / 0.7896 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.818e-05/0.3542, allocations: 140 kB / 0.7897 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.3542, allocations: 19.8 kB / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.837e-05/0.3543, allocations: 45.64 kB / 0.7898 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3545, allocations: 338.8 kB / 0.7901 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.3546, allocations: 59.92 kB / 0.7902 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.3547, allocations: 74.62 kB / 0.7902 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.3549, allocations: 89.69 kB / 0.7903 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3549, allocations: 0 / 0.7903 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003047/0.3552, allocations: 200.3 kB / 0.7905 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3552, allocations: 4 kB / 0.7905 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3553, allocations: 0 / 0.7905 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3553, allocations: 3.938 kB / 0.7905 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.3554, allocations: 31.98 kB / 0.7905 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3554, allocations: 0 / 0.7905 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.3555, allocations: 15.89 kB / 0.7906 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.3556, allocations: 11.94 kB / 0.7906 GB, free: 5.824 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.0001457/0.3557, allocations: 160.8 kB / 0.7907 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.3557, allocations: 19.72 kB / 0.7907 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.254e-05/0.3558, allocations: 29.73 kB / 0.7908 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3558, allocations: 3.938 kB / 0.7908 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.3558, allocations: 0 / 0.7908 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.3558, allocations: 3.984 kB / 0.7908 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.3561, allocations: 237.6 kB / 0.791 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3561, allocations: 4 kB / 0.791 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-05/0.3561, allocations: 0 / 0.791 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3561, allocations: 4 kB / 0.791 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.3561, allocations: 3.984 kB / 0.791 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3561, allocations: 7.938 kB / 0.791 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3561, allocations: 0 / 0.791 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.3564, allocations: 140.8 kB / 0.7912 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.207e-05/0.3564, allocations: 96.91 kB / 0.7913 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.3565, allocations: 0 / 0.7913 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.977e-05/0.3566, allocations: 19.92 kB / 0.7913 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.3566, allocations: 7.984 kB / 0.7913 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.3567, allocations: 8 kB / 0.7913 GB, free: 5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000208/0.3569, allocations: 225.9 kB / 0.7915 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3569, allocations: 0 / 0.7915 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000247/0.3571, allocations: 35.91 kB / 0.7915 GB, free: 4.746 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.0009608/0.3581, allocations: 430.5 kB / 0.792 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002645/0.3584, allocations: 115.9 kB / 0.7921 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3584, allocations: 4.062 kB / 0.7921 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.377e-05/0.3585, allocations: 31.94 kB / 0.7921 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.3589, allocations: 47.89 kB / 0.7921 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009416/0.3598, allocations: 375.5 kB / 0.7925 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007547/0.3606, allocations: 0.7398 MB / 0.7932 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001102/0.3607, allocations: 33.52 kB / 0.7933 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/0.3608, allocations: 23.44 kB / 0.7933 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of SimCode: time 9.92e-07/0.3608, allocations: 3.938 kB / 0.7933 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of Templates: time 0.007951/0.3687, allocations: 2.815 MB / 0.796 GB, free: 264 kB / 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)