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.001094/0.001094, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001047/0.001047, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.436/1.436, allocations: 205.1 MB / 222.8 MB, free: 4.664 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.704/1.704, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001435/0.001435, allocations: 70.33 kB / 0.6717 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2667, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002445/0.2692, allocations: 0.7581 MB / 0.7843 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.2704, allocations: 0.8371 MB / 0.7851 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.604e-05/0.2704, allocations: 3.938 kB / 0.7851 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.491e-05/0.2705, allocations: 3.938 kB / 0.7851 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.624e-05/0.2706, allocations: 0 / 0.7851 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.2707, allocations: 23.92 kB / 0.7851 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.079e-05/0.2708, allocations: 43.97 kB / 0.7852 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.271, allocations: 11.98 kB / 0.7852 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.502e-05/0.2711, allocations: 23.86 kB / 0.7852 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.383e-05/0.2712, allocations: 23.92 kB / 0.7852 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.2712, allocations: 4 kB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.2712, allocations: 4 kB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.2712, allocations: 15.91 kB / 0.7852 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.752e-05/0.2713, allocations: 23.92 kB / 0.7853 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.366e-05/0.2714, allocations: 31.94 kB / 0.7853 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.2714, allocations: 4 kB / 0.7853 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.487e-06/0.2714, allocations: 0 / 0.7853 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.2714, allocations: 0 / 0.7853 GB, free: 12.09 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.0006431/0.272, allocations: 359.5 kB / 0.7856 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.2721, allocations: 12.03 kB / 0.7857 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.2721, allocations: 0.9375 kB / 0.7857 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.2723, allocations: 180.2 kB / 0.7858 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.2723, allocations: 8.359 kB / 0.7858 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.2724, allocations: 4.375 kB / 0.7858 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.2726, allocations: 74.14 kB / 0.7859 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2726, allocations: 192 / 0.7859 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.2726, allocations: 7.938 kB / 0.7859 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2726, allocations: 3.938 kB / 0.7859 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.2729, allocations: 47.95 kB / 0.786 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.2733, allocations: 288.8 kB / 0.7862 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.2735, allocations: 66.48 kB / 0.7863 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.2736, allocations: 32.91 kB / 0.7863 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.2737, allocations: 4 kB / 0.7863 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.2737, allocations: 34.56 kB / 0.7864 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2737, allocations: 0 / 0.7864 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0004634/0.2742, allocations: 101.5 kB / 0.7865 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.2742, allocations: 55.41 kB / 0.7865 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.667e-05/0.2743, allocations: 113.8 kB / 0.7866 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.2744, allocations: 29.7 kB / 0.7867 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.517e-05/0.2744, allocations: 88.14 kB / 0.7867 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.2744, allocations: 7.891 kB / 0.7867 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.2745, allocations: 17.72 kB / 0.7868 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2746, allocations: 314.8 kB / 0.7871 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.871e-05/0.2747, allocations: 19.98 kB / 0.7871 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.758e-05/0.2748, allocations: 27.97 kB / 0.7871 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.275, allocations: 65.02 kB / 0.7872 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.275, allocations: 0 / 0.7872 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002216/0.2753, allocations: 81.56 kB / 0.7873 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2753, allocations: 4 kB / 0.7873 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2753, allocations: 0 / 0.7873 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2753, allocations: 3.938 kB / 0.7873 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.2755, allocations: 15.98 kB / 0.7873 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.2755, allocations: 3.984 kB / 0.7873 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.983e-05/0.2756, allocations: 12 kB / 0.7873 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.2756, allocations: 0 / 0.7873 GB, free: 9.816 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 0.000106/0.2757, allocations: 121.7 kB / 0.7874 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.2757, allocations: 0 / 0.7874 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.2758, allocations: 7.906 kB / 0.7874 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.2758, allocations: 4 kB / 0.7874 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.2758, allocations: 0 / 0.7874 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2758, allocations: 11.88 kB / 0.7874 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.276, allocations: 181.5 kB / 0.7876 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.276, allocations: 0 / 0.7876 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.77e-05/0.2761, allocations: 11.98 kB / 0.7876 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2761, allocations: 0 / 0.7876 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.2761, allocations: 8 kB / 0.7876 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2761, allocations: 0 / 0.7876 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2761, allocations: 0 / 0.7876 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.2764, allocations: 187.4 kB / 0.7878 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.2765, allocations: 81.02 kB / 0.7879 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.2765, allocations: 4 kB / 0.7879 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.2766, allocations: 11.98 kB / 0.7879 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/0.2767, allocations: 11.98 kB / 0.7879 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.2767, allocations: 0 / 0.7879 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.265e-05/0.2768, allocations: 91.27 kB / 0.788 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2768, allocations: 4 kB / 0.788 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002162/0.277, allocations: 4 kB / 0.788 GB, free: 8.988 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.0001429/0.2772, allocations: 99.25 kB / 0.7881 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000268/0.2774, allocations: 59.88 kB / 0.7881 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2774, allocations: 4 kB / 0.7882 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.2775, allocations: 23.98 kB / 0.7882 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.2779, allocations: 15.92 kB / 0.7882 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004032/0.2783, allocations: 167.2 kB / 0.7884 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.2786, allocations: 0.6807 MB / 0.789 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.2786, allocations: 15.42 kB / 0.789 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2786, allocations: 0 / 0.789 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of Templates: time 0.002319/0.281, allocations: 0.8206 MB / 0.7898 GB, free: 7.047 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)