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.001246/0.001246, allocations: 105.3 kB / 16.36 MB, free: 6.309 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.001419/0.001419, allocations: 191.2 kB / 17.3 MB, free: 5.871 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.632/1.632, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.922/1.922, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.001628/0.001628, allocations: 67.91 kB / 0.6729 GB, free: 5.793 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2725, allocations: 114.5 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002869/0.2755, allocations: 0.7117 MB / 0.7855 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.2766, allocations: 0.832 MB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.2766, allocations: 0 / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.124e-05/0.2767, allocations: 3.938 kB / 0.7863 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.237e-05/0.2768, allocations: 3.938 kB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.2769, allocations: 27.98 kB / 0.7863 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.244e-05/0.277, allocations: 47.84 kB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.2772, allocations: 19.97 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.506e-05/0.2772, allocations: 19.92 kB / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.783e-05/0.2773, allocations: 19.92 kB / 0.7864 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.2773, allocations: 4 kB / 0.7864 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.31e-05/0.2774, allocations: 7.938 kB / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.394e-05/0.2774, allocations: 11.98 kB / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.2774, allocations: 27.86 kB / 0.7865 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.2776, allocations: 39.86 kB / 0.7865 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.2776, allocations: 4 kB / 0.7865 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2776, allocations: 0 / 0.7865 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.2776, allocations: 0 / 0.7865 GB, free: 1.34 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.0005787/0.2782, allocations: 351.4 kB / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.2782, allocations: 11.97 kB / 0.7869 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.2783, allocations: 8.844 kB / 0.7869 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.2785, allocations: 176.3 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.2785, allocations: 8.375 kB / 0.7871 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.2785, allocations: 4.375 kB / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.2787, allocations: 66.16 kB / 0.7871 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.2787, allocations: 192 / 0.7871 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.2788, allocations: 3.938 kB / 0.7871 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.2788, allocations: 4 kB / 0.7871 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002038/0.279, allocations: 43.95 kB / 0.7872 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.2794, allocations: 300.7 kB / 0.7875 GB, free: 244 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.2796, allocations: 62.48 kB / 0.7875 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.2797, allocations: 36.91 kB / 0.7876 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.2798, allocations: 0 / 0.7876 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.2798, allocations: 38.55 kB / 0.7876 GB, free: 84 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.2798, allocations: 0 / 0.7876 GB, free: 84 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.4736/0.7534, allocations: 101.2 kB / 0.7877 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.7535, allocations: 56.03 kB / 0.7877 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.7537, allocations: 108.5 kB / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.7537, allocations: 26.8 kB / 0.7879 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/0.7537, allocations: 86.52 kB / 0.788 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.7538, allocations: 10.31 kB / 0.788 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.7538, allocations: 22.2 kB / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.057e-05/0.7539, allocations: 314 kB / 0.7883 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.754, allocations: 25.11 kB / 0.7883 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.412e-05/0.7541, allocations: 22.12 kB / 0.7883 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.7543, allocations: 57.11 kB / 0.7884 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7543, allocations: 1.688 kB / 0.7884 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002704/0.7546, allocations: 84.86 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.7546, allocations: 5.25 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.7546, allocations: 0.5625 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.7547, allocations: 6.375 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.7548, allocations: 14.45 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.7548, allocations: 3.719 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.931e-05/0.7549, allocations: 12 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.7549, allocations: 0.6875 kB / 0.7885 GB, free: 48.2 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,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.661e-05/0.755, allocations: 119.7 kB / 0.7886 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.7551, allocations: 10.06 kB / 0.7886 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.7551, allocations: 11.08 kB / 0.7886 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.7551, allocations: 2.625 kB / 0.7886 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7551, allocations: 0 / 0.7886 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.7551, allocations: 77.11 kB / 0.7887 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.7552, allocations: 6.062 kB / 0.7887 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.7553, allocations: 9.438 kB / 0.7887 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.7553, allocations: 11.67 kB / 0.7887 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002992/0.7556, allocations: 173.8 kB / 0.7889 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000258/0.7559, allocations: 263 kB / 0.7892 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001091/0.756, allocations: 26.19 kB / 0.7892 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.549e-05/0.7561, allocations: 95.55 kB / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of Backend: time 8.61e-07/0.7561, allocations: 0 / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004444/0.7565, allocations: 107.5 kB / 0.7894 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0005158/0.7571, allocations: 0.5666 MB / 0.7899 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.003517/0.7606, allocations: 0.9848 MB / 0.7909 GB, free: 46.96 MB / 0.6544 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)