Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.782/2.782, allocations: 287.3 MB / 302.3 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001655/0.001655, allocations: 170.8 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.547/2.547, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001911/0.001911, allocations: 92.28 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005356/0.0005358, allocations: 14.25 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2479, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001146/0.2491, allocations: 421.7 kB / 0.9786 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.2504, allocations: 0.8282 MB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.2505, allocations: 0 / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.218e-05/0.2506, allocations: 3.938 kB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.027e-05/0.2507, allocations: 0 / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.2508, allocations: 15.98 kB / 0.9794 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.799e-05/0.2509, allocations: 27.91 kB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.2511, allocations: 15.98 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.504e-05/0.2512, allocations: 11.97 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.564e-05/0.2513, allocations: 23.92 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.2513, allocations: 3.938 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.822e-05/0.2513, allocations: 4 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.2513, allocations: 7.984 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.2514, allocations: 29.7 kB / 0.9796 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.6e-05/0.2515, allocations: 31.91 kB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2515, allocations: 0 / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2515, allocations: 0 / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.2515, allocations: 0 / 0.9796 GB, free: 26.94 MB / 0.6198 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.0006555/0.2522, allocations: 355.5 kB / 0.9799 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.2523, allocations: 8.031 kB / 0.9799 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.2523, allocations: 7.844 kB / 0.9799 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.2525, allocations: 178.9 kB / 0.9801 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.2525, allocations: 8 kB / 0.9801 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.2525, allocations: 3.938 kB / 0.9801 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.2529, allocations: 73.66 kB / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2529, allocations: 0 / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.2529, allocations: 0 / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.253, allocations: 0 / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004525/0.2534, allocations: 55.95 kB / 0.9802 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005948/0.254, allocations: 304.7 kB / 0.9805 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.2544, allocations: 63.55 kB / 0.9806 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.2545, allocations: 4.031 kB / 0.9806 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.2545, allocations: 38.56 kB / 0.9806 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.434e-06/0.2545, allocations: 0 / 0.9806 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0008297/0.2554, allocations: 125.7 kB / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.2554, allocations: 59.34 kB / 0.9808 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.37e-05/0.2555, allocations: 105.9 kB / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.2556, allocations: 29.7 kB / 0.9809 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.2556, allocations: 88.03 kB / 0.981 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.2557, allocations: 11.91 kB / 0.981 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/0.2557, allocations: 0 / 0.981 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.031e-05/0.2558, allocations: 310.8 kB / 0.9813 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.256, allocations: 31.97 kB / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.2563, allocations: 35.97 kB / 0.9814 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.2565, allocations: 23.98 kB / 0.9814 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2565, allocations: 4 kB / 0.9814 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0005381/0.2571, allocations: 93.58 kB / 0.9815 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.2571, allocations: 8 kB / 0.9815 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.2572, allocations: 0 / 0.9815 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2572, allocations: 0 / 0.9815 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.2574, allocations: 15.98 kB / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2575, allocations: 7.953 kB / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.2576, allocations: 7.984 kB / 0.9816 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.2577, allocations: 7.938 kB / 0.9816 GB, free: 24.7 MB / 0.6198 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 (intLesEquThr.y,reaToInt.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.902e-05/0.2578, allocations: 109.8 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.2578, allocations: 8.234 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.2579, allocations: 7.906 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.2579, allocations: 7.984 kB / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2579, allocations: 0 / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.2579, allocations: 3.953 kB / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.2582, allocations: 177.6 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2582, allocations: 0 / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.2584, allocations: 15.98 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.2585, allocations: 3.938 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.2585, allocations: 0 / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2585, allocations: 3.938 kB / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.2585, allocations: 7.984 kB / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005442/0.2591, allocations: 191.4 kB / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.2591, allocations: 85.09 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.2592, allocations: 4 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.2594, allocations: 12 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.2595, allocations: 15.97 kB / 0.9822 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.2595, allocations: 0 / 0.9822 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.177e-05/0.2596, allocations: 83.59 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2596, allocations: 0 / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005685/0.2602, allocations: 8 kB / 0.9823 GB, free: 23.88 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001518/0.2604, allocations: 107.2 kB / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005358/0.2609, allocations: 63.89 kB / 0.9824 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2609, allocations: 0 / 0.9824 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002592/0.2612, allocations: 39.97 kB / 0.9825 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.2616, allocations: 7.953 kB / 0.9825 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000489/0.2621, allocations: 140.6 kB / 0.9826 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.2623, allocations: 0.6809 MB / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.537e-05/0.2624, allocations: 8 kB / 0.9833 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.175e-05/0.2625, allocations: 19.36 kB / 0.9833 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/0.2625, allocations: 0 / 0.9833 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of Templates: time 0.004604/0.2671, allocations: 0.7338 MB / 0.984 GB, free: 22.03 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)