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.001409/0.001409, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 192.8 kB / 16.64 MB, free: 6.453 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.694/1.694, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.889/1.889, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001851/0.001851, allocations: 70.16 kB / 0.6723 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3267, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.003781/0.3306, allocations: 0.7148 MB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001985/0.3326, allocations: 0.8359 MB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.3328, allocations: 4 kB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.195e-05/0.333, allocations: 3.938 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.3332, allocations: 7.938 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.3334, allocations: 19.98 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.3336, allocations: 43.91 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.3338, allocations: 15.98 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.3339, allocations: 23.91 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.625e-05/0.334, allocations: 23.92 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.3341, allocations: 7.938 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.803e-05/0.3341, allocations: 4 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.1e-05/0.3341, allocations: 15.92 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.3342, allocations: 11.94 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.3344, allocations: 55.72 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.3344, allocations: 0 / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.527e-06/0.3344, allocations: 0 / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.3344, allocations: 0 / 0.7859 GB, free: 10.94 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.0008317/0.3353, allocations: 359.3 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.521e-05/0.3354, allocations: 12.03 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/0.3354, allocations: 0.9375 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.3357, allocations: 184.2 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.3357, allocations: 4.375 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.3358, allocations: 384 / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.3361, allocations: 74.19 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.3361, allocations: 192 / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.3361, allocations: 3.938 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.3362, allocations: 0 / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.3364, allocations: 59.89 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006845/0.3371, allocations: 284.8 kB / 0.7868 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.3373, allocations: 66.53 kB / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.3375, allocations: 28.91 kB / 0.7869 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.3375, allocations: 3.938 kB / 0.7869 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.3375, allocations: 38.56 kB / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 2.325e-06/0.3376, allocations: 0 / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0004886/0.3381, allocations: 109.5 kB / 0.7871 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.3381, allocations: 51.41 kB / 0.7871 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.3383, allocations: 105.8 kB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.3383, allocations: 25.7 kB / 0.7872 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.195e-05/0.3384, allocations: 100.1 kB / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.3384, allocations: 3.906 kB / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.3385, allocations: 17.72 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3387, allocations: 318.8 kB / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.3388, allocations: 23.98 kB / 0.7877 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.288e-05/0.3389, allocations: 27.91 kB / 0.7877 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.3391, allocations: 56.75 kB / 0.7877 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3391, allocations: 0 / 0.7877 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002514/0.3394, allocations: 89.55 kB / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.3394, allocations: 4 kB / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3394, allocations: 0 / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.3394, allocations: 4 kB / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.3396, allocations: 7.984 kB / 0.7878 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.3396, allocations: 11.94 kB / 0.7879 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.563e-05/0.3397, allocations: 7.984 kB / 0.7879 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.3397, allocations: 3.938 kB / 0.7879 GB, free: 8.664 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.0001591/0.3399, allocations: 121.7 kB / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.3399, allocations: 0 / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.494e-05/0.34, allocations: 7.906 kB / 0.788 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.34, allocations: 0 / 0.788 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.34, allocations: 0 / 0.788 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.34, allocations: 0 / 0.788 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.3403, allocations: 193.5 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3403, allocations: 4 kB / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.068e-05/0.3404, allocations: 11.98 kB / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3404, allocations: 0 / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.3404, allocations: 0 / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3404, allocations: 0 / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3404, allocations: 0 / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.3408, allocations: 187.7 kB / 0.7884 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.104e-05/0.3409, allocations: 93.03 kB / 0.7885 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3409, allocations: 0 / 0.7885 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.341, allocations: 4 kB / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/0.3411, allocations: 11.98 kB / 0.7885 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.3411, allocations: 3.984 kB / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.131e-05/0.3411, allocations: 91.22 kB / 0.7886 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3411, allocations: 0 / 0.7886 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002323/0.3414, allocations: 8 kB / 0.7886 GB, free: 7.84 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.0001524/0.3415, allocations: 99.25 kB / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002691/0.3418, allocations: 59.94 kB / 0.7887 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3418, allocations: 0 / 0.7887 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.3419, allocations: 31.91 kB / 0.7888 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.3423, allocations: 15.94 kB / 0.7888 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/0.3427, allocations: 129.5 kB / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.343, allocations: 0.6807 MB / 0.7896 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.588e-05/0.3431, allocations: 4 kB / 0.7896 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.3431, allocations: 11.44 kB / 0.7896 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.3431, allocations: 4 kB / 0.7896 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of Templates: time 0.003439/0.3466, allocations: 0.8914 MB / 0.7905 GB, free: 5.867 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)