Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001894/0.001895, allocations: 193.1 kB / 16.25 MB, free: 6.617 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.648/1.648, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.77/1.77, allocations: 292.3 MB / 0.5485 GB, free: 13.66 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.001489/0.001489, allocations: 65.23 kB / 0.671 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2683, allocations: 114.6 MB / 0.7829 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001993/0.2704, allocations: 0.7582 MB / 0.7836 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009173/0.2713, allocations: 0.8486 MB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.924e-05/0.2714, allocations: 0 / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/0.2714, allocations: 3.938 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.589e-05/0.2715, allocations: 7.938 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.2716, allocations: 19.97 kB / 0.7845 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.198e-05/0.2717, allocations: 43.91 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.2718, allocations: 12 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.931e-05/0.2719, allocations: 23.92 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.79e-05/0.2719, allocations: 27.89 kB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.272, allocations: 8 kB / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.272, allocations: 4 kB / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.272, allocations: 7.938 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.272, allocations: 19.92 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.439e-05/0.2721, allocations: 47.84 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2721, allocations: 0 / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2721, allocations: 0 / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.2722, allocations: 0 / 0.7846 GB, free: 12.07 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.0005002/0.2727, allocations: 363.6 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.2727, allocations: 12.03 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.2727, allocations: 0.9375 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.2729, allocations: 176.2 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.2729, allocations: 4.312 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.2729, allocations: 4.375 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.2731, allocations: 66.22 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.2731, allocations: 192 / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.2731, allocations: 15.92 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.2731, allocations: 0 / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.2733, allocations: 51.94 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.2738, allocations: 288.8 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.274, allocations: 70.53 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.567e-05/0.2741, allocations: 24.92 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.2741, allocations: 0 / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.2741, allocations: 38.55 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.2741, allocations: 0 / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003789/0.2745, allocations: 113.5 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.2745, allocations: 55.41 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.321e-05/0.2746, allocations: 105.8 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.2746, allocations: 29.7 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.958e-05/0.2747, allocations: 84.14 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.2747, allocations: 7.906 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.2748, allocations: 17.7 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2749, allocations: 318.8 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.275, allocations: 27.91 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.435e-05/0.2751, allocations: 23.98 kB / 0.7865 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.2753, allocations: 56.69 kB / 0.7865 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.2753, allocations: 0 / 0.7865 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000211/0.2755, allocations: 93.55 kB / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.2755, allocations: 4 kB / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.2755, allocations: 0 / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.2755, allocations: 0 / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.2756, allocations: 11.98 kB / 0.7866 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2757, allocations: 4 kB / 0.7866 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.219e-05/0.2757, allocations: 11.98 kB / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.2758, allocations: 0 / 0.7866 GB, free: 9.809 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,intLesThr.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 7.149e-05/0.2758, allocations: 130.3 kB / 0.7868 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.2759, allocations: 0 / 0.7868 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.2759, allocations: 11.89 kB / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.2759, allocations: 4 kB / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2759, allocations: 0 / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2759, allocations: 0 / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.2761, allocations: 173.5 kB / 0.7869 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2761, allocations: 8.25 kB / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.208e-05/0.2762, allocations: 11.98 kB / 0.787 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2762, allocations: 0 / 0.787 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.2762, allocations: 4 kB / 0.787 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2762, allocations: 4 kB / 0.787 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2762, allocations: 0 / 0.787 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.2765, allocations: 183.4 kB / 0.7871 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.2765, allocations: 81.02 kB / 0.7872 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.2765, allocations: 4 kB / 0.7872 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.2767, allocations: 11.98 kB / 0.7872 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.2767, allocations: 11.98 kB / 0.7872 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.2767, allocations: 4 kB / 0.7873 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.448e-05/0.2768, allocations: 87.27 kB / 0.7873 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2768, allocations: 0 / 0.7873 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000211/0.277, allocations: 8 kB / 0.7873 GB, free: 8.984 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 (intLesThr.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.0001017/0.2771, allocations: 103.2 kB / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002468/0.2774, allocations: 51.95 kB / 0.7875 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2774, allocations: 0 / 0.7875 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.2775, allocations: 35.97 kB / 0.7875 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.2778, allocations: 8.484 kB / 0.7875 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.2781, allocations: 149.4 kB / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.2784, allocations: 0.6884 MB / 0.7883 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.362e-05/0.2784, allocations: 4 kB / 0.7884 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.2785, allocations: 15.42 kB / 0.7884 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2785, allocations: 0 / 0.7884 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of Templates: time 0.002774/0.2813, allocations: 0.8108 MB / 0.7892 GB, free: 7.07 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)