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.001219/0.001219, allocations: 103.9 kB / 16.36 MB, free: 5.945 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.001108/0.001109, allocations: 194.7 kB / 17.3 MB, free: 5.559 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.518/1.518, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.861/1.861, allocations: 292.3 MB / 0.5496 GB, free: 17.68 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.002685/0.002685, allocations: 71.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3095, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.003796/0.3134, allocations: 1.914 MB / 0.7867 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002216/0.3156, allocations: 1.027 MB / 0.7877 GB, free: 200 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002555/0.3159, allocations: 7.938 kB / 0.7877 GB, free: 192 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004695/0.3164, allocations: 107.5 kB / 0.7878 GB, free: 84 kB / 0.6544 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.4835/0.8, allocations: 91.66 kB / 0.7879 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005753/0.8006, allocations: 119.4 kB / 0.788 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.8009, allocations: 203.1 kB / 0.7882 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.8011, allocations: 50.52 kB / 0.7882 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.8013, allocations: 87.06 kB / 0.7883 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.8014, allocations: 90.86 kB / 0.7884 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.8015, allocations: 10.81 kB / 0.7884 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.8017, allocations: 68.94 kB / 0.7885 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.849e-05/0.8018, allocations: 57.34 kB / 0.7885 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.8019, allocations: 84.48 kB / 0.7886 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.8022, allocations: 272 kB / 0.7889 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.8022, allocations: 0 / 0.7889 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8023, allocations: 3.094 kB / 0.7889 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.8023, allocations: 2.625 kB / 0.7889 GB, free: 46.47 MB / 0.6544 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.0008155/0.8031, allocations: 0.5376 MB / 0.7894 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.8031, allocations: 10.66 kB / 0.7894 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.8032, allocations: 23.31 kB / 0.7894 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.8036, allocations: 300.7 kB / 0.7897 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.8036, allocations: 3.594 kB / 0.7897 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.8036, allocations: 9.438 kB / 0.7897 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.8038, allocations: 88.52 kB / 0.7898 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.8038, allocations: 0 / 0.7898 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.8038, allocations: 0 / 0.7898 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.8038, allocations: 4.5 kB / 0.7898 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.804, allocations: 37.02 kB / 0.7899 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006208/0.8046, allocations: 418.7 kB / 0.7903 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.8048, allocations: 84.12 kB / 0.7903 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.746e-05/0.8049, allocations: 35 kB / 0.7904 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.8049, allocations: 2.719 kB / 0.7904 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.8051, allocations: 72.94 kB / 0.7904 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.8051, allocations: 0 / 0.7904 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003473/0.8055, allocations: 134.1 kB / 0.7906 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.8055, allocations: 60.09 kB / 0.7906 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.8059, allocations: 365.5 kB / 0.791 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.8059, allocations: 28.33 kB / 0.791 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.666e-05/0.806, allocations: 141.2 kB / 0.7911 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.806, allocations: 25.77 kB / 0.7912 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.8061, allocations: 38.39 kB / 0.7912 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.081e-05/0.8062, allocations: 336.6 kB / 0.7915 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.589e-05/0.8063, allocations: 59.31 kB / 0.7916 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.8064, allocations: 76.81 kB / 0.7917 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.8065, allocations: 89.52 kB / 0.7917 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.8066, allocations: 3.438 kB / 0.7917 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002724/0.8068, allocations: 188.9 kB / 0.7919 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.8069, allocations: 5.906 kB / 0.7919 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.8069, allocations: 4.5 kB / 0.7919 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.8069, allocations: 0 / 0.7919 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.807, allocations: 29.11 kB / 0.792 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.807, allocations: 8.344 kB / 0.792 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.8071, allocations: 15.08 kB / 0.792 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.8072, allocations: 5.094 kB / 0.792 GB, free: 44.63 MB / 0.6544 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.0001077/0.8073, allocations: 154.6 kB / 0.7921 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.8073, allocations: 22.84 kB / 0.7922 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.015e-05/0.8074, allocations: 28.41 kB / 0.7922 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.8074, allocations: 0 / 0.7922 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.8074, allocations: 3.938 kB / 0.7922 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.8074, allocations: 1.312 kB / 0.7922 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.8075, allocations: 240.7 kB / 0.7924 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.8075, allocations: 1.031 kB / 0.7924 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.167e-05/0.8076, allocations: 5.578 kB / 0.7924 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.8076, allocations: 0.5 kB / 0.7924 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.8076, allocations: 4.875 kB / 0.7924 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.8076, allocations: 0.7812 kB / 0.7924 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8076, allocations: 3.938 kB / 0.7924 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.8078, allocations: 141.8 kB / 0.7926 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.8079, allocations: 96.3 kB / 0.7927 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.8079, allocations: 4.625 kB / 0.7927 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.808, allocations: 17.17 kB / 0.7927 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.808, allocations: 17.89 kB / 0.7927 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.8081, allocations: 2.094 kB / 0.7927 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001825/0.8082, allocations: 225.9 kB / 0.7929 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8083, allocations: 3.938 kB / 0.7929 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002457/0.8085, allocations: 48.69 kB / 0.793 GB, free: 44.04 MB / 0.6544 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.0009641/0.8095, allocations: 422 kB / 0.7934 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.8097, allocations: 110.3 kB / 0.7935 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.8097, allocations: 0 / 0.7935 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.013e-05/0.8098, allocations: 37.97 kB / 0.7935 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.8102, allocations: 46.72 kB / 0.7936 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005053/0.8107, allocations: 367 kB / 0.7939 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.8109, allocations: 0.746 MB / 0.7946 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.409e-05/0.811, allocations: 28.81 kB / 0.7947 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.8111, allocations: 21.33 kB / 0.7947 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/0.8111, allocations: 0 / 0.7947 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of Templates: time 0.006418/0.8175, allocations: 2.802 MB / 0.7974 GB, free: 42.89 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)