Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.826/1.826, allocations: 292.3 MB / 308.1 MB, free: 4.297 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.001476/0.001476, allocations: 180.5 kB / 376.9 MB, free: 1.793 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.839/1.839, allocations: 205.1 MB / 0.6354 GB, free: 9.746 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.001566/0.001566, allocations: 92.14 kB / 0.748 GB, free: 61.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 51.92 kB / 0.8704 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3696, allocations: 114.5 MB / 0.9822 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.003381/0.3731, allocations: 0.7721 MB / 0.983 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.3747, allocations: 0.8321 MB / 0.9838 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.757e-05/0.3748, allocations: 0 / 0.9838 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.816e-05/0.3749, allocations: 3.938 kB / 0.9838 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.375, allocations: 7.984 kB / 0.9838 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.3753, allocations: 19.98 kB / 0.9838 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.3754, allocations: 35.92 kB / 0.9839 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.3756, allocations: 23.97 kB / 0.9839 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.3757, allocations: 19.92 kB / 0.9839 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.991e-05/0.3758, allocations: 19.86 kB / 0.9839 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.3759, allocations: 7.938 kB / 0.9839 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 2.118e-05/0.3759, allocations: 4 kB / 0.9839 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.192e-05/0.3759, allocations: 7.984 kB / 0.9839 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.738e-05/0.376, allocations: 19.86 kB / 0.984 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.3761, allocations: 39.86 kB / 0.984 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3761, allocations: 4 kB / 0.984 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3761, allocations: 0 / 0.984 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.3761, allocations: 0 / 0.984 GB, free: 8.508 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.0006668/0.3768, allocations: 359.6 kB / 0.9843 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.222e-05/0.3769, allocations: 12.03 kB / 0.9844 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.3769, allocations: 0.9375 kB / 0.9844 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.3771, allocations: 180.2 kB / 0.9845 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.3772, allocations: 4.375 kB / 0.9845 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.3772, allocations: 4.375 kB / 0.9845 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.3775, allocations: 66.22 kB / 0.9846 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3775, allocations: 4.125 kB / 0.9846 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3775, allocations: 7.938 kB / 0.9846 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.3775, allocations: 0 / 0.9846 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.3777, allocations: 47.95 kB / 0.9847 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005575/0.3783, allocations: 288.8 kB / 0.9849 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.3785, allocations: 70.47 kB / 0.985 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.3787, allocations: 32.91 kB / 0.985 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.3787, allocations: 0 / 0.985 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.3787, allocations: 38.56 kB / 0.9851 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.3787, allocations: 0 / 0.9851 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0004584/0.3792, allocations: 101.5 kB / 0.9852 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.3793, allocations: 55.41 kB / 0.9852 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.605e-05/0.3794, allocations: 110.1 kB / 0.9853 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.3794, allocations: 25.7 kB / 0.9853 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.3795, allocations: 92.06 kB / 0.9854 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.3795, allocations: 19.75 kB / 0.9855 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.699e-05/0.3796, allocations: 17.72 kB / 0.9855 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3797, allocations: 314.8 kB / 0.9858 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.3798, allocations: 23.92 kB / 0.9858 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.726e-05/0.3799, allocations: 27.97 kB / 0.9858 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.3801, allocations: 60.75 kB / 0.9859 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3801, allocations: 0 / 0.9859 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000286/0.3804, allocations: 77.66 kB / 0.986 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3805, allocations: 4 kB / 0.986 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.3805, allocations: 3.984 kB / 0.986 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3805, allocations: 0 / 0.986 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.3806, allocations: 15.92 kB / 0.986 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3806, allocations: 4.062 kB / 0.986 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.046e-05/0.3807, allocations: 16 kB / 0.986 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3808, allocations: 3.984 kB / 0.986 GB, free: 6.234 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,intGreThr.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 8.912e-05/0.3808, allocations: 117.7 kB / 0.9861 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.3809, allocations: 3.906 kB / 0.9861 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.3809, allocations: 7.906 kB / 0.9861 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3809, allocations: 4 kB / 0.9861 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3809, allocations: 0 / 0.9861 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.3809, allocations: 0 / 0.9861 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.3812, allocations: 177.6 kB / 0.9863 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3812, allocations: 4 kB / 0.9863 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.992e-05/0.3813, allocations: 15.98 kB / 0.9863 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3813, allocations: 0 / 0.9863 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.3813, allocations: 4 kB / 0.9863 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3813, allocations: 0 / 0.9863 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3813, allocations: 0 / 0.9863 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000728/0.382, allocations: 0.7632 MB / 0.9871 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.3821, allocations: 77.11 kB / 0.9871 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.3821, allocations: 4 kB / 0.9871 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.3822, allocations: 8.031 kB / 0.9871 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.759e-05/0.3823, allocations: 19.91 kB / 0.9872 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.3823, allocations: 0 / 0.9872 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.775e-05/0.3824, allocations: 87.27 kB / 0.9873 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3824, allocations: 11.88 kB / 0.9873 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003253/0.3827, allocations: 8 kB / 0.9873 GB, free: 4.789 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 (intGreThr.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.0001801/0.3829, allocations: 99.25 kB / 0.9874 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002604/0.3832, allocations: 47.95 kB / 0.9874 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3832, allocations: 0 / 0.9874 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.3834, allocations: 35.97 kB / 0.9874 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.3837, allocations: 8 kB / 0.9875 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005327/0.3842, allocations: 258.1 kB / 0.9877 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.3846, allocations: 0.6848 MB / 0.9884 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.363e-05/0.3847, allocations: 8 kB / 0.9884 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.3847, allocations: 11.42 kB / 0.9884 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of SimCode: time 4.1e-07/0.3847, allocations: 4 kB / 0.9884 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of Templates: time 0.003635/0.3884, allocations: 0.7791 MB / 0.9892 GB, free: 2.797 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)