Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.671/1.671, allocations: 292.3 MB / 308.1 MB, free: 4.285 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.001567/0.001567, allocations: 197.6 kB / 376.9 MB, free: 1.812 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.901/1.901, 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.001206/0.001206, allocations: 103.8 kB / 0.748 GB, free: 61.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 55.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3117, allocations: 114.6 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.003285/0.3151, allocations: 0.7585 MB / 0.983 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.3168, allocations: 0.836 MB / 0.9838 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.514e-05/0.317, allocations: 0 / 0.9838 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.847e-05/0.317, allocations: 0 / 0.9838 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.3172, allocations: 7.938 kB / 0.9838 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.3174, allocations: 23.98 kB / 0.9838 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.3175, allocations: 39.91 kB / 0.9839 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.3177, allocations: 23.92 kB / 0.9839 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.469e-05/0.3177, allocations: 11.98 kB / 0.9839 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.122e-05/0.3178, allocations: 23.86 kB / 0.9839 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.3179, allocations: 11.92 kB / 0.9839 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.588e-05/0.3179, allocations: 4 kB / 0.9839 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.3179, allocations: 7.984 kB / 0.9839 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.318, allocations: 19.86 kB / 0.984 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.3181, allocations: 39.86 kB / 0.984 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3181, allocations: 0 / 0.984 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3181, allocations: 0 / 0.984 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.3181, allocations: 4 kB / 0.984 GB, free: 8.566 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000739/0.3189, allocations: 359.6 kB / 0.9843 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.3189, allocations: 8.031 kB / 0.9844 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.66e-05/0.319, allocations: 4.938 kB / 0.9844 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.3192, allocations: 176.2 kB / 0.9845 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.3192, allocations: 4.375 kB / 0.9845 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.3193, allocations: 4.375 kB / 0.9845 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.3195, allocations: 70.22 kB / 0.9846 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3195, allocations: 192 / 0.9846 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.3195, allocations: 3.938 kB / 0.9846 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.3195, allocations: 0 / 0.9846 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002324/0.3198, allocations: 47.95 kB / 0.9847 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.3204, allocations: 296.8 kB / 0.9849 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.3206, allocations: 58.55 kB / 0.985 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.3207, allocations: 28.91 kB / 0.985 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.3208, allocations: 8.062 kB / 0.985 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.3208, allocations: 38.55 kB / 0.9851 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 3.516e-06/0.3208, allocations: 4 kB / 0.9851 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0004647/0.3213, allocations: 109.5 kB / 0.9852 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.3213, allocations: 51.41 kB / 0.9852 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.3215, allocations: 109.8 kB / 0.9853 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.3215, allocations: 25.7 kB / 0.9854 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.729e-05/0.3216, allocations: 92.08 kB / 0.9854 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.3216, allocations: 11.8 kB / 0.9855 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/0.3217, allocations: 21.72 kB / 0.9855 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3218, allocations: 314.8 kB / 0.9858 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.3219, allocations: 23.98 kB / 0.9858 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.165e-05/0.322, allocations: 23.97 kB / 0.9858 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.3222, allocations: 56.75 kB / 0.9859 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3223, allocations: 7.938 kB / 0.9859 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002459/0.3225, allocations: 77.66 kB / 0.986 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.3226, allocations: 4 kB / 0.986 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.3226, allocations: 0 / 0.986 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.3226, allocations: 4 kB / 0.986 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.3227, allocations: 7.984 kB / 0.986 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.3228, allocations: 11.92 kB / 0.986 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.116e-05/0.3228, allocations: 4 kB / 0.986 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3228, allocations: 4 kB / 0.986 GB, free: 6.309 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.000154/0.323, allocations: 125.7 kB / 0.9861 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.3231, allocations: 3.906 kB / 0.9861 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.815e-05/0.3231, allocations: 7.906 kB / 0.9861 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3231, allocations: 4 kB / 0.9861 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.3231, allocations: 4 kB / 0.9861 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3231, allocations: 0 / 0.9861 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.3234, allocations: 173.6 kB / 0.9863 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3234, allocations: 0 / 0.9863 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.415e-05/0.3235, allocations: 19.92 kB / 0.9863 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.3235, allocations: 4 kB / 0.9863 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3235, allocations: 0 / 0.9863 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3235, allocations: 0 / 0.9863 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3235, allocations: 0 / 0.9863 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008896/0.3244, allocations: 0.7551 MB / 0.9871 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/0.3245, allocations: 81.09 kB / 0.9871 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.3245, allocations: 8 kB / 0.9871 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.3247, allocations: 4 kB / 0.9871 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.3247, allocations: 12.3 kB / 0.9872 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.3248, allocations: 11.92 kB / 0.9872 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.524e-05/0.3248, allocations: 83.28 kB / 0.9872 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.3248, allocations: 0 / 0.9872 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003696/0.3252, allocations: 12 kB / 0.9873 GB, free: 4.867 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: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001576/0.3254, allocations: 107.2 kB / 0.9874 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002524/0.3256, allocations: 51.89 kB / 0.9874 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3256, allocations: 0 / 0.9874 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.3258, allocations: 35.97 kB / 0.9874 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.3262, allocations: 9.828 kB / 0.9875 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005264/0.3267, allocations: 246.2 kB / 0.9877 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.327, allocations: 0.6848 MB / 0.9884 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.828e-05/0.3271, allocations: 8 kB / 0.9884 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.3271, allocations: 15.44 kB / 0.9884 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/0.3271, allocations: 0 / 0.9884 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of Templates: time 0.003345/0.3305, allocations: 0.7954 MB / 0.9892 GB, free: 2.855 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)