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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.004/2.004, allocations: 292.3 MB / 308.1 MB, free: 4.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00133/0.00133, allocations: 181.5 kB / 376.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001239/0.001238, allocations: 102.2 kB / 0.748 GB, free: 61.31 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 63.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3399, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.004109/0.3441, allocations: 1.971 MB / 0.9842 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.346, allocations: 1.019 MB / 0.9852 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.3462, allocations: 7.875 kB / 0.9852 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004449/0.3467, allocations: 99.69 kB / 0.9853 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.347, allocations: 83.72 kB / 0.9853 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.3474, allocations: 115.8 kB / 0.9855 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003141/0.3478, allocations: 187.5 kB / 0.9856 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.348, allocations: 45.66 kB / 0.9857 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.3482, allocations: 83.56 kB / 0.9858 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.3483, allocations: 87.61 kB / 0.9858 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.3484, allocations: 4 kB / 0.9858 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.3486, allocations: 63.89 kB / 0.9859 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.762e-05/0.3487, allocations: 51.83 kB / 0.986 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.278e-05/0.3488, allocations: 75.47 kB / 0.986 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.3491, allocations: 263.3 kB / 0.9863 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3491, allocations: 4 kB / 0.9863 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.82e-07/0.3491, allocations: 0 / 0.9863 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.3491, allocations: 0 / 0.9863 GB, free: 6.203 MB / 0.7136 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.0009148/0.3501, allocations: 0.5332 MB / 0.9868 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3501, allocations: 8.031 kB / 0.9868 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.27e-05/0.3502, allocations: 24.66 kB / 0.9868 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.3506, allocations: 303.7 kB / 0.9871 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.3506, allocations: 4.375 kB / 0.9871 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.3506, allocations: 11.94 kB / 0.9871 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.3508, allocations: 77.59 kB / 0.9872 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3509, allocations: 4 kB / 0.9872 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.3509, allocations: 8 kB / 0.9872 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3509, allocations: 0 / 0.9872 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.351, allocations: 39.97 kB / 0.9873 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006881/0.3517, allocations: 428.5 kB / 0.9877 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.3519, allocations: 78.66 kB / 0.9878 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.784e-05/0.352, allocations: 32.84 kB / 0.9878 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.3521, allocations: 3.984 kB / 0.9878 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.3522, allocations: 75.39 kB / 0.9879 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.915e-06/0.3523, allocations: 0 / 0.9879 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003943/0.3527, allocations: 137.5 kB / 0.988 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.3527, allocations: 55.34 kB / 0.988 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000384/0.3531, allocations: 366.9 kB / 0.9884 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.3531, allocations: 25.7 kB / 0.9884 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.3532, allocations: 147.9 kB / 0.9886 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.3533, allocations: 19.8 kB / 0.9886 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.808e-05/0.3534, allocations: 41.7 kB / 0.9886 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3535, allocations: 334.8 kB / 0.9889 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.3536, allocations: 51.98 kB / 0.989 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.3537, allocations: 85.62 kB / 0.9891 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.3539, allocations: 96.02 kB / 0.9892 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3539, allocations: 0 / 0.9892 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003177/0.3543, allocations: 193.2 kB / 0.9893 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3543, allocations: 4 kB / 0.9893 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3543, allocations: 0 / 0.9893 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3543, allocations: 3.938 kB / 0.9893 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.3544, allocations: 23.98 kB / 0.9894 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.3545, allocations: 8.094 kB / 0.9894 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.3546, allocations: 19.89 kB / 0.9894 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.3546, allocations: 4 kB / 0.9894 GB, free: 2.773 MB / 0.7136 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.0001528/0.3548, allocations: 157.7 kB / 0.9896 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.3548, allocations: 23.7 kB / 0.9896 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.972e-05/0.3549, allocations: 25.75 kB / 0.9896 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3549, allocations: 3.938 kB / 0.9896 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3549, allocations: 0 / 0.9896 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3549, allocations: 7.984 kB / 0.9896 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.3551, allocations: 237.6 kB / 0.9898 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3551, allocations: 0 / 0.9898 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.3552, allocations: 7.984 kB / 0.9898 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.3552, allocations: 0 / 0.9898 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.3552, allocations: 4 kB / 0.9898 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3552, allocations: 3.938 kB / 0.9899 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3552, allocations: 0 / 0.9899 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005802/0.3558, allocations: 0.7485 MB / 0.9906 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/0.3559, allocations: 108.8 kB / 0.9907 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.3559, allocations: 0 / 0.9907 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.356, allocations: 11.98 kB / 0.9907 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.3561, allocations: 15.92 kB / 0.9907 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.3561, allocations: 0 / 0.9907 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002323/0.3563, allocations: 225.9 kB / 0.9909 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.026e-06/0.3563, allocations: 4 kB / 0.9909 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003821/0.3567, allocations: 43.92 kB / 0.991 GB, free: 1.023 MB / 0.7136 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.0009957/0.3577, allocations: 414.6 kB / 0.9914 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002672/0.358, allocations: 111.9 kB / 0.9915 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.358, allocations: 0 / 0.9915 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.964e-05/0.3581, allocations: 27.98 kB / 0.9915 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.3585, allocations: 56.84 kB / 0.9916 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007143/0.3592, allocations: 0.5312 MB / 0.9921 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.3596, allocations: 0.744 MB / 0.9928 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.693e-05/0.3597, allocations: 33.67 kB / 0.9928 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.556e-05/0.3597, allocations: 19.44 kB / 0.9929 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/0.3597, allocations: 0 / 0.9929 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of Templates: time 0.006701/0.3665, allocations: 2.716 MB / 0.9955 GB, free: 12.44 MB / 0.7292 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)