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.001462/0.001462, allocations: 106.5 kB / 16.36 MB, free: 6.258 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.001283/0.001283, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.566/1.566, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.966/1.966, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.001696/0.001697, allocations: 67.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2652, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.004318/0.2695, allocations: 1.917 MB / 0.7867 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002239/0.2718, allocations: 1.035 MB / 0.7877 GB, free: 204 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002265/0.2721, allocations: 4 kB / 0.7877 GB, free: 200 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005025/0.2726, allocations: 107.5 kB / 0.7878 GB, free: 92 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.5271/0.7997, allocations: 92.59 kB / 0.7879 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000704/0.8004, allocations: 113.6 kB / 0.788 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004771/0.8009, allocations: 207.8 kB / 0.7882 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000223/0.8012, allocations: 49.03 kB / 0.7882 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.8013, allocations: 86.14 kB / 0.7883 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.8015, allocations: 89.45 kB / 0.7884 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.8015, allocations: 14.97 kB / 0.7884 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.8017, allocations: 63.91 kB / 0.7885 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.108e-05/0.8018, allocations: 59.56 kB / 0.7885 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.01e-05/0.8019, allocations: 82.72 kB / 0.7886 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.8023, allocations: 270.5 kB / 0.7889 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.8023, allocations: 2.625 kB / 0.7889 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8023, allocations: 0 / 0.7889 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.8023, allocations: 0 / 0.7889 GB, free: 46.38 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.0008821/0.8032, allocations: 0.5388 MB / 0.7894 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.8033, allocations: 7.375 kB / 0.7894 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.617e-05/0.8034, allocations: 24.06 kB / 0.7894 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.8037, allocations: 305.7 kB / 0.7897 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.8038, allocations: 7.75 kB / 0.7897 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.8038, allocations: 4.844 kB / 0.7897 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.804, allocations: 83.88 kB / 0.7898 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.804, allocations: 0 / 0.7898 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.804, allocations: 4.781 kB / 0.7898 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.804, allocations: 3.875 kB / 0.7898 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.8041, allocations: 42.97 kB / 0.7899 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006391/0.8048, allocations: 418.7 kB / 0.7903 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.8051, allocations: 81.23 kB / 0.7903 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.558e-05/0.8051, allocations: 31.67 kB / 0.7904 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.8052, allocations: 3.469 kB / 0.7904 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.8054, allocations: 83.14 kB / 0.7905 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.8054, allocations: 0 / 0.7905 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003649/0.8057, allocations: 131.8 kB / 0.7906 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.8058, allocations: 53.44 kB / 0.7906 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.8061, allocations: 371.9 kB / 0.791 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.8061, allocations: 32.27 kB / 0.791 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.8062, allocations: 137.7 kB / 0.7911 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.8062, allocations: 23.98 kB / 0.7912 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/0.8063, allocations: 40.94 kB / 0.7912 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.992e-05/0.8064, allocations: 334.5 kB / 0.7915 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.59e-05/0.8065, allocations: 54.8 kB / 0.7916 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.8066, allocations: 76.72 kB / 0.7917 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.8067, allocations: 97.38 kB / 0.7917 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.8068, allocations: 0 / 0.7917 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002927/0.8071, allocations: 192.9 kB / 0.7919 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.8071, allocations: 5.562 kB / 0.7919 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.8071, allocations: 0 / 0.7919 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.8071, allocations: 0 / 0.7919 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.8072, allocations: 31.98 kB / 0.792 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.8072, allocations: 7.594 kB / 0.792 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.86e-05/0.8073, allocations: 15.2 kB / 0.792 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.8074, allocations: 11.34 kB / 0.792 GB, free: 44.54 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.0001041/0.8075, allocations: 149.8 kB / 0.7921 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.8075, allocations: 22.22 kB / 0.7922 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.802e-05/0.8076, allocations: 29.06 kB / 0.7922 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.8076, allocations: 1 kB / 0.7922 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.8076, allocations: 0 / 0.7922 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.8076, allocations: 102.6 kB / 0.7923 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.8077, allocations: 0.8438 kB / 0.7923 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.8078, allocations: 14.03 kB / 0.7923 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.8078, allocations: 10.22 kB / 0.7923 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002128/0.808, allocations: 177.1 kB / 0.7925 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002043/0.8082, allocations: 287.1 kB / 0.7928 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.338e-05/0.8083, allocations: 36.62 kB / 0.7928 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001871/0.8085, allocations: 225.5 kB / 0.793 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of Backend: time 4.61e-07/0.8085, allocations: 3.5 kB / 0.793 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001603/0.8101, allocations: 0.5397 MB / 0.7935 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0007767/0.8109, allocations: 0.8388 MB / 0.7944 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of Templates: time 0.006493/0.8174, allocations: 2.974 MB / 0.7973 GB, free: 42.98 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)