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.001547/0.001547, allocations: 105.4 kB / 15.7 MB, free: 24 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.001693/0.001693, allocations: 198.9 kB / 16.64 MB, free: 6.453 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.507/1.507, allocations: 205.1 MB / 222.5 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.808/1.808, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001593/0.001593, allocations: 82.61 kB / 0.6723 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3044, allocations: 114.5 MB / 0.7842 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.003894/0.3083, allocations: 1.921 MB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002058/0.3104, allocations: 1.024 MB / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.3106, allocations: 7.938 kB / 0.787 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005045/0.3111, allocations: 103.6 kB / 0.7871 GB, free: 9.652 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.0003598/0.3115, allocations: 95.56 kB / 0.7872 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.3119, allocations: 122.7 kB / 0.7873 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.3122, allocations: 207.4 kB / 0.7875 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.3124, allocations: 37.67 kB / 0.7876 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.3126, allocations: 95.56 kB / 0.7877 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.3127, allocations: 87.66 kB / 0.7878 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.3128, allocations: 16 kB / 0.7878 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.3129, allocations: 63.97 kB / 0.7878 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.629e-05/0.313, allocations: 63.7 kB / 0.7879 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.55e-05/0.3131, allocations: 79.47 kB / 0.788 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003337/0.3134, allocations: 271.1 kB / 0.7882 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3135, allocations: 0 / 0.7882 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.604e-06/0.3135, allocations: 3.938 kB / 0.7882 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.3135, allocations: 0 / 0.7882 GB, free: 8.535 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.0009571/0.3144, allocations: 0.5332 MB / 0.7887 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3145, allocations: 16.03 kB / 0.7888 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.108e-05/0.3146, allocations: 20.66 kB / 0.7888 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003967/0.315, allocations: 303.7 kB / 0.7891 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.315, allocations: 8.359 kB / 0.7891 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.315, allocations: 11.94 kB / 0.7891 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.3152, allocations: 81.59 kB / 0.7892 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.3152, allocations: 0 / 0.7892 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3152, allocations: 7.938 kB / 0.7892 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3153, allocations: 4 kB / 0.7892 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.3154, allocations: 35.98 kB / 0.7892 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006973/0.3161, allocations: 420.5 kB / 0.7896 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.3163, allocations: 82.67 kB / 0.7897 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.427e-05/0.3164, allocations: 24.84 kB / 0.7897 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.3164, allocations: 4 kB / 0.7897 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.3166, allocations: 83.3 kB / 0.7898 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.694e-06/0.3166, allocations: 3.938 kB / 0.7898 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003628/0.317, allocations: 133.3 kB / 0.7899 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.3171, allocations: 55.41 kB / 0.79 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/0.3175, allocations: 358.9 kB / 0.7903 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.3175, allocations: 33.7 kB / 0.7904 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3176, allocations: 140 kB / 0.7905 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.3177, allocations: 19.8 kB / 0.7905 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-05/0.3177, allocations: 37.7 kB / 0.7905 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3179, allocations: 334.8 kB / 0.7909 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.318, allocations: 59.98 kB / 0.7909 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.3181, allocations: 74.62 kB / 0.791 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.3183, allocations: 97.62 kB / 0.7911 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3183, allocations: 0 / 0.7911 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003188/0.3186, allocations: 204.5 kB / 0.7913 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3187, allocations: 8 kB / 0.7913 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3187, allocations: 0 / 0.7913 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3187, allocations: 7.969 kB / 0.7913 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.3188, allocations: 23.98 kB / 0.7913 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3189, allocations: 320 / 0.7913 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.319, allocations: 15.89 kB / 0.7913 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.319, allocations: 8 kB / 0.7913 GB, free: 5.102 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.0001444/0.3191, allocations: 152.8 kB / 0.7915 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.3192, allocations: 23.72 kB / 0.7915 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.819e-05/0.3192, allocations: 25.73 kB / 0.7915 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3193, allocations: 7.938 kB / 0.7915 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3193, allocations: 0 / 0.7915 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3193, allocations: 4 kB / 0.7915 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.3195, allocations: 245.5 kB / 0.7918 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3195, allocations: 0 / 0.7918 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/0.3195, allocations: 4 kB / 0.7918 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3196, allocations: 0 / 0.7918 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3196, allocations: 7.984 kB / 0.7918 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.3196, allocations: 7.922 kB / 0.7918 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3196, allocations: 0 / 0.7918 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.3199, allocations: 140.7 kB / 0.7919 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.3199, allocations: 96.92 kB / 0.792 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.32, allocations: 11.92 kB / 0.792 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.32, allocations: 7.938 kB / 0.792 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.3201, allocations: 11.98 kB / 0.7921 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.3201, allocations: 3.984 kB / 0.7921 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002166/0.3204, allocations: 229.9 kB / 0.7923 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3204, allocations: 4 kB / 0.7923 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002654/0.3206, allocations: 40.03 kB / 0.7923 GB, free: 4.008 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.001191/0.3218, allocations: 425.8 kB / 0.7927 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002961/0.3221, allocations: 99.91 kB / 0.7928 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3222, allocations: 4 kB / 0.7928 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.905e-05/0.3222, allocations: 27.98 kB / 0.7929 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.3227, allocations: 61.27 kB / 0.7929 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008099/0.3235, allocations: 363.4 kB / 0.7933 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.3238, allocations: 0.7437 MB / 0.794 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.495e-05/0.3239, allocations: 37.66 kB / 0.794 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.459e-05/0.324, allocations: 19.44 kB / 0.794 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of SimCode: time 1.473e-06/0.324, allocations: 0 / 0.794 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of Templates: time 0.006616/0.3306, allocations: 2.822 MB / 0.7968 GB, free: 15.54 MB / 0.6231 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)