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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.66/2.66, allocations: 287.5 MB / 302.4 MB, free: 8.297 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.001403/0.001402, allocations: 190 kB / 371 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.201/2.201, allocations: 205.4 MB / 0.6297 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.000898/0.0008976, allocations: 97.86 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007964/0.0007967, allocations: 12.84 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2658, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.0009197/0.2668, allocations: 417.8 kB / 0.9789 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009756/0.2678, allocations: 0.8205 MB / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.2678, allocations: 4 kB / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.2678, allocations: 0 / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.065e-05/0.2679, allocations: 3.938 kB / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.2681, allocations: 23.97 kB / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.084e-05/0.2682, allocations: 39.86 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2683, allocations: 15.98 kB / 0.9798 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.237e-05/0.2684, allocations: 15.92 kB / 0.9798 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.624e-05/0.2684, allocations: 23.91 kB / 0.9798 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.2685, allocations: 4 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.2685, allocations: 0 / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.2685, allocations: 7.922 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.2686, allocations: 33.7 kB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.962e-05/0.2686, allocations: 27.92 kB / 0.9799 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2686, allocations: 4 kB / 0.9799 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2687, allocations: 0 / 0.9799 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2687, allocations: 0 / 0.9799 GB, free: 26.82 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.0005197/0.2692, allocations: 353.4 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.2693, allocations: 12.02 kB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.23e-05/0.2693, allocations: 42.5 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.2693, allocations: 7.859 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.2695, allocations: 178.9 kB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.2695, allocations: 0 / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.2695, allocations: 4 kB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.2698, allocations: 77.64 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2698, allocations: 0 / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2698, allocations: 0 / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2698, allocations: 0 / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003406/0.2702, allocations: 59.95 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.2707, allocations: 296.7 kB / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.271, allocations: 66.55 kB / 0.9809 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.2711, allocations: 36.91 kB / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.2712, allocations: 0 / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2712, allocations: 34.56 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.2712, allocations: 0 / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0006173/0.2718, allocations: 133.5 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.2719, allocations: 55.41 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.698e-05/0.272, allocations: 105.8 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.272, allocations: 29.7 kB / 0.9813 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.272, allocations: 95.97 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.2721, allocations: 7.906 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/0.2721, allocations: 0 / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.091e-05/0.2722, allocations: 314.8 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.2724, allocations: 31.97 kB / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.2725, allocations: 28.86 kB / 0.9817 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.2727, allocations: 31.97 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2727, allocations: 0 / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003857/0.2731, allocations: 97.58 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.2732, allocations: 5.562 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2732, allocations: 0 / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2732, allocations: 0 / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.2734, allocations: 19.94 kB / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.2734, allocations: 4 kB / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.2736, allocations: 19.83 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.2736, allocations: 0 / 0.9819 GB, free: 24.49 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 7.864e-05/0.2737, allocations: 113.8 kB / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.2737, allocations: 0 / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.2737, allocations: 11.91 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.2738, allocations: 0 / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.2738, allocations: 3.953 kB / 0.982 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2738, allocations: 4 kB / 0.982 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.274, allocations: 177.6 kB / 0.9822 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.274, allocations: 4 kB / 0.9822 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.2742, allocations: 11.98 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2742, allocations: 3.938 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.2742, allocations: 0 / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.2742, allocations: 8 kB / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2742, allocations: 0 / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004193/0.2746, allocations: 195.4 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.2747, allocations: 77.11 kB / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.2747, allocations: 11.98 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.2749, allocations: 8 kB / 0.9825 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.682e-05/0.275, allocations: 7.984 kB / 0.9825 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.275, allocations: 11.98 kB / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.361e-05/0.2751, allocations: 83.22 kB / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2751, allocations: 0 / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002801/0.2754, allocations: 15.95 kB / 0.9826 GB, free: 23.66 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.0006818/0.276, allocations: 0.7244 MB / 0.9833 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004375/0.2765, allocations: 67.98 kB / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2765, allocations: 0 / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.2767, allocations: 47.98 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.2771, allocations: 4 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.2785, allocations: 486.3 kB / 0.9839 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.2786, allocations: 0.6809 MB / 0.9846 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.874e-05/0.2787, allocations: 4 kB / 0.9846 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.322e-05/0.2788, allocations: 23.42 kB / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of SimCode: time 1.272e-06/0.2788, allocations: 3.938 kB / 0.9846 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.2986, allocations: 1.533 MB / 0.9861 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/0.2988, allocations: 202 kB / 0.9863 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.536/2.835, allocations: 4.062 kB / 0.9863 GB, free: 19.93 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)