Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.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.Greater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 110.4 kB / 16.38 MB, free: 6.008 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.001297/0.001297, allocations: 187.1 kB / 17.31 MB, free: 5.621 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.636/1.636, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.996/1.996, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.002573/0.002573, allocations: 67.89 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2993, allocations: 114.5 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.005405/0.3048, allocations: 1.951 MB / 0.7867 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00262/0.3074, allocations: 1.038 MB / 0.7877 GB, free: 204 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003417/0.3078, allocations: 4 kB / 0.7877 GB, free: 200 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006799/0.3086, 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.5044/0.813, allocations: 95.67 kB / 0.7879 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006163/0.8137, allocations: 126.2 kB / 0.788 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003626/0.814, allocations: 212.3 kB / 0.7883 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.8142, allocations: 61.56 kB / 0.7883 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.8144, allocations: 87.95 kB / 0.7884 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.8145, allocations: 100.7 kB / 0.7885 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.8146, allocations: 13 kB / 0.7885 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.8148, allocations: 66.7 kB / 0.7886 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.429e-05/0.8148, allocations: 57.12 kB / 0.7886 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.034e-05/0.8149, allocations: 88.56 kB / 0.7887 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.8153, allocations: 283.5 kB / 0.789 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.8153, allocations: 0 / 0.789 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.364e-06/0.8153, allocations: 0 / 0.789 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.8153, allocations: 4.594 kB / 0.789 GB, free: 46.96 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007876/0.8161, allocations: 0.5349 MB / 0.7895 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/0.8162, allocations: 8.625 kB / 0.7895 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.8162, allocations: 23.06 kB / 0.7895 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.8166, allocations: 313.1 kB / 0.7898 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.8167, allocations: 8.484 kB / 0.7898 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.8167, allocations: 7.875 kB / 0.7898 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.8169, allocations: 97.25 kB / 0.7899 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.8169, allocations: 0 / 0.7899 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.817, allocations: 2.625 kB / 0.7899 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.817, allocations: 0 / 0.7899 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.8171, allocations: 52.98 kB / 0.79 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007771/0.8179, allocations: 450.7 kB / 0.7904 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.8181, allocations: 85.33 kB / 0.7905 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.506e-05/0.8182, allocations: 30.59 kB / 0.7905 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.8183, allocations: 4.625 kB / 0.7905 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.8184, allocations: 77.69 kB / 0.7906 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.8184, allocations: 0 / 0.7906 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.000342/0.8188, allocations: 134 kB / 0.7907 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.8188, allocations: 54.66 kB / 0.7908 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.8191, allocations: 371.6 kB / 0.7911 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.8192, allocations: 25.7 kB / 0.7912 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.397e-05/0.8192, allocations: 146.2 kB / 0.7913 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.8193, allocations: 19.28 kB / 0.7913 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.8193, allocations: 50.47 kB / 0.7914 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.809e-05/0.8194, allocations: 334.6 kB / 0.7917 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.514e-05/0.8195, allocations: 52.8 kB / 0.7917 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.952e-05/0.8196, allocations: 77.91 kB / 0.7918 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.8197, allocations: 93.38 kB / 0.7919 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.8198, allocations: 0 / 0.7919 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000264/0.82, allocations: 192.1 kB / 0.7921 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.8201, allocations: 9.969 kB / 0.7921 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.8201, allocations: 3.938 kB / 0.7921 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.8201, allocations: 2.625 kB / 0.7921 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.8202, allocations: 26.72 kB / 0.7921 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.8202, allocations: 1.062 kB / 0.7921 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.984e-05/0.8203, allocations: 13.2 kB / 0.7921 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.8203, allocations: 7.781 kB / 0.7922 GB, free: 45.11 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.0001215/0.8205, allocations: 154.5 kB / 0.7923 GB, free: 45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.8205, allocations: 18.97 kB / 0.7923 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.34e-05/0.8206, allocations: 30.41 kB / 0.7923 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.8206, allocations: 0 / 0.7923 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.8206, allocations: 1.312 kB / 0.7924 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.8206, allocations: 103 kB / 0.7924 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.8207, allocations: 10.31 kB / 0.7925 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/0.8208, allocations: 9.141 kB / 0.7925 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.8208, allocations: 14.66 kB / 0.7925 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002084/0.821, allocations: 177 kB / 0.7926 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001953/0.8212, allocations: 286.5 kB / 0.7929 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.471e-05/0.8213, allocations: 43 kB / 0.793 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001719/0.8215, allocations: 234.4 kB / 0.7932 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of Backend: time 2.91e-07/0.8215, allocations: 0 / 0.7932 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001507/0.823, allocations: 0.5261 MB / 0.7937 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0007163/0.8238, allocations: 0.8371 MB / 0.7945 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.00574/0.8295, allocations: 2.96 MB / 0.7974 GB, free: 43.57 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1)