Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.742/1.742, allocations: 288.4 MB / 303.3 MB, free: 8.105 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.000973/0.0009733, allocations: 174.9 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.901/1.901, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0007378/0.0007381, allocations: 101 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004742/0.0004743, allocations: 16.06 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2577, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.0009095/0.2587, allocations: 418 kB / 0.9801 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009218/0.2596, allocations: 0.8205 MB / 0.9809 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.796e-05/0.2597, allocations: 0 / 0.9809 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.2597, allocations: 0 / 0.9809 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.004e-05/0.2598, allocations: 7.875 kB / 0.9809 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.2599, allocations: 27.97 kB / 0.9809 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.783e-05/0.26, allocations: 35.92 kB / 0.9809 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.89e-05/0.2601, allocations: 15.97 kB / 0.9809 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.636e-05/0.2602, allocations: 11.94 kB / 0.981 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.494e-05/0.2602, allocations: 19.91 kB / 0.981 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.2603, allocations: 4 kB / 0.981 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.2603, allocations: 0 / 0.981 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.2603, allocations: 11.94 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.997e-05/0.2603, allocations: 25.7 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.593e-05/0.2604, allocations: 39.91 kB / 0.9811 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2604, allocations: 3.938 kB / 0.9811 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2604, allocations: 0 / 0.9811 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2604, allocations: 0 / 0.9811 GB, free: 26.1 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.0004447/0.2609, allocations: 359.5 kB / 0.9814 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.2609, allocations: 12.02 kB / 0.9814 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.956e-05/0.261, allocations: 34.56 kB / 0.9814 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.261, allocations: 11.91 kB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.2611, allocations: 175 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.2611, allocations: 3.938 kB / 0.9816 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.2611, allocations: 4 kB / 0.9816 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.2613, allocations: 65.66 kB / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2614, allocations: 0 / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.2614, allocations: 8 kB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2614, allocations: 4 kB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.2616, allocations: 55.95 kB / 0.9818 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.262, allocations: 304.7 kB / 0.982 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.2621, allocations: 62.55 kB / 0.9821 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.2623, allocations: 36.91 kB / 0.9821 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.2623, allocations: 0 / 0.9821 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.2623, allocations: 34.56 kB / 0.9822 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2623, allocations: 0 / 0.9822 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0004168/0.2627, allocations: 129.6 kB / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.2628, allocations: 55.36 kB / 0.9824 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.242e-05/0.2628, allocations: 105.8 kB / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.2629, allocations: 25.7 kB / 0.9825 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.2629, allocations: 99.97 kB / 0.9826 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.2629, allocations: 7.906 kB / 0.9826 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.2629, allocations: 0 / 0.9826 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.987e-05/0.263, allocations: 314.8 kB / 0.9829 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.2631, allocations: 31.97 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.31e-05/0.2632, allocations: 24.86 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.2633, allocations: 31.97 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2633, allocations: 4 kB / 0.983 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002867/0.2636, allocations: 93.92 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2637, allocations: 4 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2637, allocations: 7.969 kB / 0.9831 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2637, allocations: 0 / 0.9831 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.2638, allocations: 19.98 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2638, allocations: 3.953 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.069e-05/0.2639, allocations: 15.84 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.2639, allocations: 3.984 kB / 0.9831 GB, free: 23.77 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 (intGreThr.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 6.686e-05/0.264, allocations: 113.8 kB / 0.9832 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.264, allocations: 3.938 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/0.2641, allocations: 15.91 kB / 0.9832 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2641, allocations: 0 / 0.9832 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2641, allocations: 0 / 0.9832 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2641, allocations: 3.953 kB / 0.9832 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.2642, allocations: 173.6 kB / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2642, allocations: 0 / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.691e-05/0.2643, allocations: 11.98 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2643, allocations: 0 / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.2644, allocations: 8 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2644, allocations: 0 / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2644, allocations: 4.312 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.2646, allocations: 195.3 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.2647, allocations: 81.11 kB / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.2647, allocations: 7.984 kB / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.2648, allocations: 12 kB / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.2649, allocations: 11.92 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.2649, allocations: 3.984 kB / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.989e-05/0.2649, allocations: 87.27 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2649, allocations: 0 / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001963/0.2651, allocations: 8 kB / 0.9838 GB, free: 22.95 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 (intGreThr.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.0004569/0.2656, allocations: 0.7357 MB / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002394/0.2658, allocations: 67.94 kB / 0.9846 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2658, allocations: 0 / 0.9846 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.2659, allocations: 35.97 kB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.2662, allocations: 9.031 kB / 0.9846 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008473/0.2671, allocations: 486.3 kB / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.2672, allocations: 0.6809 MB / 0.9858 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.521e-05/0.2672, allocations: 11.94 kB / 0.9858 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.2673, allocations: 15.42 kB / 0.9858 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2673, allocations: 0 / 0.9858 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01157/0.2789, allocations: 1.541 MB / 0.9873 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/0.2791, allocations: 216.8 kB / 0.9875 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/1.825, allocations: 0 / 0.9875 GB, free: 19.2 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)