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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001327/0.001328, allocations: 196.3 kB / 16.14 MB, free: 6.703 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.618/1.618, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.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.834/1.834, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001431/0.001431, allocations: 64.7 kB / 0.6708 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.277, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002472/0.2796, allocations: 0.7681 MB / 0.7834 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.2808, allocations: 0.8447 MB / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.38e-05/0.2809, allocations: 0 / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.631e-05/0.281, allocations: 4 kB / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.2811, allocations: 7.938 kB / 0.7843 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.2813, allocations: 15.98 kB / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.2814, allocations: 39.91 kB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.2816, allocations: 12 kB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.358e-05/0.2817, allocations: 23.91 kB / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.012e-05/0.2818, allocations: 19.91 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.2818, allocations: 8 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.651e-05/0.2818, allocations: 4 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.489e-05/0.2819, allocations: 7.938 kB / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.2819, allocations: 15.92 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.282, allocations: 51.84 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2821, allocations: 3.938 kB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2821, allocations: 0 / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2821, allocations: 0 / 0.7845 GB, free: 12.17 MB / 0.6075 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.0006861/0.2828, allocations: 355.6 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/0.2828, allocations: 15.97 kB / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.2829, allocations: 8.875 kB / 0.7848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.2831, allocations: 168.2 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.2831, allocations: 8.375 kB / 0.785 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.2831, allocations: 384 / 0.785 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.2833, allocations: 70.2 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2834, allocations: 192 / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.2834, allocations: 3.938 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.2834, allocations: 0 / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.2836, allocations: 63.92 kB / 0.7851 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.2841, allocations: 284.8 kB / 0.7854 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.2844, allocations: 62.58 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.2845, allocations: 32.88 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.2845, allocations: 4 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.2845, allocations: 30.56 kB / 0.7855 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.2845, allocations: 0 / 0.7855 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0004328/0.285, allocations: 113.5 kB / 0.7856 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.285, allocations: 59.39 kB / 0.7857 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.238e-05/0.2851, allocations: 105.8 kB / 0.7858 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.2851, allocations: 25.7 kB / 0.7858 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.2852, allocations: 88.14 kB / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.2852, allocations: 3.906 kB / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.2853, allocations: 21.7 kB / 0.7859 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2854, allocations: 314.8 kB / 0.7862 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.2855, allocations: 27.97 kB / 0.7862 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.699e-05/0.2856, allocations: 23.98 kB / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.2858, allocations: 56.69 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2858, allocations: 0 / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002575/0.2861, allocations: 85.55 kB / 0.7864 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.2861, allocations: 10.59 kB / 0.7864 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2861, allocations: 4 kB / 0.7864 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.2861, allocations: 4 kB / 0.7864 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.2863, allocations: 11.98 kB / 0.7864 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.2863, allocations: 0 / 0.7864 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.273e-05/0.2864, allocations: 12.31 kB / 0.7864 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.2864, allocations: 0 / 0.7864 GB, free: 9.914 MB / 0.6075 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 9.598e-05/0.2865, allocations: 117.7 kB / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.2865, allocations: 3.984 kB / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.558e-05/0.2866, allocations: 11.91 kB / 0.7866 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2866, allocations: 7.938 kB / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2866, allocations: 0 / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2866, allocations: 0 / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.2868, allocations: 181.5 kB / 0.7868 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.2868, allocations: 8 kB / 0.7868 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.041e-05/0.2869, allocations: 7.984 kB / 0.7868 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2869, allocations: 4 kB / 0.7868 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.287, allocations: 4 kB / 0.7868 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.287, allocations: 0 / 0.7868 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.287, allocations: 3.984 kB / 0.7868 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.2873, allocations: 179.5 kB / 0.7869 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.083e-05/0.2873, allocations: 85 kB / 0.787 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.2874, allocations: 4 kB / 0.787 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.2875, allocations: 7.984 kB / 0.787 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.2875, allocations: 11.98 kB / 0.7871 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.2876, allocations: 4 kB / 0.7871 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.614e-05/0.2876, allocations: 95.2 kB / 0.7871 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2876, allocations: 0 / 0.7871 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002296/0.2879, allocations: 4 kB / 0.7872 GB, free: 9.086 MB / 0.6075 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.000154/0.288, allocations: 103.2 kB / 0.7872 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002607/0.2883, allocations: 47.95 kB / 0.7873 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.2883, allocations: 8 kB / 0.7873 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.2884, allocations: 31.97 kB / 0.7873 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.2888, allocations: 7.938 kB / 0.7873 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.2892, allocations: 143.2 kB / 0.7875 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.2894, allocations: 0.6809 MB / 0.7881 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.971e-05/0.2895, allocations: 8 kB / 0.7882 GB, free: 8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.2895, allocations: 19.42 kB / 0.7882 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.2895, allocations: 0 / 0.7882 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of Templates: time 0.003331/0.2929, allocations: 0.7599 MB / 0.7889 GB, free: 7.227 MB / 0.6075 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)