Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.579/1.579, allocations: 252 MB / 267.3 MB, free: 10.83 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 168.7 kB / 327 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.209/2.209, allocations: 205.4 MB / 0.578 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007906/0.0007905, allocations: 86.34 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005162/0.0005164, allocations: 8.781 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2615, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001661/0.2632, allocations: 1.124 MB / 0.902 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003931/0.2636, allocations: 148.4 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.304e-05/0.2637, allocations: 4 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.378e-05/0.2637, allocations: 3.938 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.31e-05/0.2638, allocations: 4 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.264, allocations: 23.92 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.2642, allocations: 51.83 kB / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.2643, allocations: 8 kB / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.2644, allocations: 19.92 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.377e-05/0.2645, allocations: 15.92 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.2646, allocations: 7.984 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.451e-05/0.2646, allocations: 4 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.2646, allocations: 11.98 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.2647, allocations: 41.56 kB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.2648, allocations: 43.84 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.2649, allocations: 0 / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2649, allocations: 0 / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.2649, allocations: 0 / 0.9024 GB, free: 61.86 MB / 0.6042 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.0006653/0.2656, allocations: 355.7 kB / 0.9027 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.754e-05/0.2656, allocations: 8.031 kB / 0.9027 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.648e-05/0.2657, allocations: 42.67 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.2657, allocations: 0.9375 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.2659, allocations: 168.3 kB / 0.903 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.2659, allocations: 12.31 kB / 0.903 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.266, allocations: 4.375 kB / 0.903 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.2662, allocations: 70.22 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.2662, allocations: 7.938 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.2662, allocations: 0 / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2663, allocations: 0 / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.2665, allocations: 63.94 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004854/0.267, allocations: 284.8 kB / 0.9034 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.2672, allocations: 66.53 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.2673, allocations: 44.86 kB / 0.9035 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.2673, allocations: 4.062 kB / 0.9035 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.2674, allocations: 34.5 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2674, allocations: 0 / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0004364/0.2678, allocations: 133.7 kB / 0.9036 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.2679, allocations: 55.39 kB / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.617e-05/0.2679, allocations: 101.9 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.268, allocations: 29.69 kB / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.268, allocations: 92.08 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.268, allocations: 7.812 kB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.2681, allocations: 4 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.2681, allocations: 322.8 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.2683, allocations: 27.97 kB / 0.9043 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.26e-05/0.2684, allocations: 35.95 kB / 0.9043 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.2686, allocations: 60.81 kB / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2686, allocations: 0 / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002283/0.2688, allocations: 101.6 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2688, allocations: 4 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2689, allocations: 0 / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2689, allocations: 0 / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.269, allocations: 15.98 kB / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.269, allocations: 0 / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.405e-05/0.2691, allocations: 11.98 kB / 0.9045 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.2691, allocations: 4 kB / 0.9045 GB, free: 59.5 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.123e-05/0.2692, allocations: 117.8 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.2692, allocations: 7.891 kB / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.2693, allocations: 7.906 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2693, allocations: 0 / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.2693, allocations: 4 kB / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2693, allocations: 0 / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.2694, allocations: 177.5 kB / 0.9048 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2694, allocations: 0 / 0.9048 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.796e-05/0.2695, allocations: 19.98 kB / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2696, allocations: 0 / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.2696, allocations: 0 / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2696, allocations: 7.875 kB / 0.9048 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2696, allocations: 0 / 0.9048 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.2699, allocations: 195.4 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/0.2699, allocations: 81.02 kB / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.2699, allocations: 4 kB / 0.9051 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.543e-05/0.27, allocations: 11.98 kB / 0.9051 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.2701, allocations: 7.984 kB / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.2701, allocations: 4 kB / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.969e-05/0.2701, allocations: 91.27 kB / 0.9052 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2702, allocations: 0 / 0.9052 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002087/0.2704, allocations: 11.94 kB / 0.9052 GB, free: 58.67 MB / 0.6042 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.0004558/0.2708, allocations: 0.7282 MB / 0.9059 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.2711, allocations: 67.92 kB / 0.906 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2711, allocations: 4 kB / 0.906 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.2712, allocations: 35.92 kB / 0.906 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.2715, allocations: 16.81 kB / 0.906 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.2728, allocations: 1.353 MB / 0.9073 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.273, allocations: 0.6848 MB / 0.908 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.782e-05/0.273, allocations: 7.906 kB / 0.908 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.303e-05/0.2731, allocations: 15.42 kB / 0.908 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.2731, allocations: 4 kB / 0.908 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.3017, allocations: 1.542 MB / 0.9095 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.302, allocations: 228.5 kB / 0.9098 GB, free: 54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/2.084, allocations: 0 / 0.9098 GB, free: 54 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)