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.001562/0.001562, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001755/0.001755, allocations: 187.9 kB / 17.19 MB, free: 5.688 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.465/1.465, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.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.858/1.858, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001506/0.001506, allocations: 71.03 kB / 0.6722 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2528, allocations: 114.6 MB / 0.784 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002301/0.2551, allocations: 0.7046 MB / 0.7847 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.2562, allocations: 0.8398 MB / 0.7855 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.317e-05/0.2563, allocations: 0 / 0.7855 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.871e-05/0.2564, allocations: 3.938 kB / 0.7856 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.939e-05/0.2564, allocations: 7.922 kB / 0.7856 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.2566, allocations: 23.97 kB / 0.7856 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.047e-05/0.2567, allocations: 39.92 kB / 0.7856 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.2568, allocations: 15.98 kB / 0.7856 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.831e-05/0.2569, allocations: 19.92 kB / 0.7857 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.697e-05/0.257, allocations: 27.91 kB / 0.7857 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.257, allocations: 4 kB / 0.7857 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/0.257, allocations: 4 kB / 0.7857 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.257, allocations: 11.92 kB / 0.7857 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.2571, allocations: 15.94 kB / 0.7857 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.2572, allocations: 51.84 kB / 0.7858 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2572, allocations: 0 / 0.7858 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.186e-06/0.2572, allocations: 4 kB / 0.7858 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.2572, allocations: 3.938 kB / 0.7858 GB, free: 2.102 MB / 0.6544 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.0005417/0.2578, allocations: 351.6 kB / 0.7861 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2578, allocations: 12.03 kB / 0.7861 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.2579, allocations: 8.844 kB / 0.7861 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.258, allocations: 176.3 kB / 0.7863 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.258, allocations: 384 / 0.7863 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.2581, allocations: 4.375 kB / 0.7863 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.2583, allocations: 66.2 kB / 0.7864 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.2583, allocations: 4.188 kB / 0.7864 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.2583, allocations: 7.938 kB / 0.7864 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2583, allocations: 4 kB / 0.7864 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.2585, allocations: 47.95 kB / 0.7864 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.259, allocations: 296.7 kB / 0.7867 GB, free: 1 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.2592, allocations: 62.53 kB / 0.7868 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.2593, allocations: 28.92 kB / 0.7868 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.2594, allocations: 4 kB / 0.7868 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.2594, allocations: 34.55 kB / 0.7868 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2594, allocations: 0 / 0.7868 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0004356/0.2599, allocations: 109.6 kB / 0.7869 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.2599, allocations: 51.41 kB / 0.787 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.218e-05/0.26, allocations: 117.7 kB / 0.7871 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.26, allocations: 29.7 kB / 0.7871 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.2601, allocations: 84.14 kB / 0.7872 GB, free: 440 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.2601, allocations: 7.906 kB / 0.7872 GB, free: 432 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.2602, allocations: 21.7 kB / 0.7872 GB, free: 404 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2603, allocations: 314.8 kB / 0.7875 GB, free: 80 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.2604, allocations: 23.97 kB / 0.7876 GB, free: 56 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.11e-05/0.2605, allocations: 19.98 kB / 0.7876 GB, free: 36 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4334/0.6939, allocations: 60.09 kB / 0.7876 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.694, allocations: 0 / 0.7876 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003067/0.6943, allocations: 89.61 kB / 0.7877 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.6943, allocations: 5.25 kB / 0.7877 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.6944, allocations: 2.719 kB / 0.7877 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.6944, allocations: 3.719 kB / 0.7877 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.6945, allocations: 12.23 kB / 0.7877 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.6945, allocations: 2.625 kB / 0.7877 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.073e-05/0.6946, allocations: 8.906 kB / 0.7878 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.6946, allocations: 2.625 kB / 0.7878 GB, free: 48.41 MB / 0.6544 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 7.837e-05/0.6947, allocations: 116.9 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.6948, allocations: 3.312 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.6948, allocations: 12.55 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.6948, allocations: 2.125 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6948, allocations: 3.609 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.6948, allocations: 3.281 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.695, allocations: 174 kB / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.695, allocations: 2.625 kB / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.28e-05/0.6951, allocations: 10.36 kB / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.6951, allocations: 5.672 kB / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.6952, allocations: 3.531 kB / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6952, allocations: 0 / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6952, allocations: 2.156 kB / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.6954, allocations: 185.6 kB / 0.7883 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.379e-05/0.6955, allocations: 80.39 kB / 0.7883 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.6955, allocations: 0.9062 kB / 0.7883 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.6956, allocations: 9.469 kB / 0.7883 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.6957, allocations: 13.53 kB / 0.7884 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.6957, allocations: 3.969 kB / 0.7884 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.145e-05/0.6958, allocations: 87.25 kB / 0.7884 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6958, allocations: 0 / 0.7884 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002303/0.696, allocations: 9.844 kB / 0.7885 GB, free: 47.79 MB / 0.6544 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.0001225/0.6961, allocations: 103.7 kB / 0.7886 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002723/0.6964, allocations: 58.27 kB / 0.7886 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6964, allocations: 0 / 0.7886 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.6965, allocations: 28.3 kB / 0.7886 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.6968, allocations: 9.109 kB / 0.7886 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.6972, allocations: 157.3 kB / 0.7888 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.6974, allocations: 0.6858 MB / 0.7895 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.6974, allocations: 14.28 kB / 0.7895 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.6974, allocations: 0 / 0.7895 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.00216/0.6996, allocations: 0.8054 MB / 0.7903 GB, free: 46.88 MB / 0.6544 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)