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.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.514/1.514, allocations: 252 MB / 267.3 MB, free: 10.86 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.001067/0.001067, allocations: 184.8 kB / 327 MB, free: 2.102 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.262/2.262, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0009791/0.000979, allocations: 88.8 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003528, allocations: 14.08 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2442, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001451/0.2457, allocations: 1.136 MB / 0.902 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003131/0.246, allocations: 140.4 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.662e-05/0.246, allocations: 0 / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.2461, allocations: 11.92 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.912e-05/0.2462, allocations: 3.984 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001251/0.2463, allocations: 27.92 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.204e-05/0.2464, allocations: 35.92 kB / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.145e-05/0.2465, allocations: 15.98 kB / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.652e-05/0.2465, allocations: 23.84 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.707e-05/0.2466, allocations: 19.92 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.2466, allocations: 4 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.2467, allocations: 0 / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.2467, allocations: 11.98 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.2467, allocations: 41.58 kB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.577e-05/0.2468, allocations: 39.84 kB / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2468, allocations: 0 / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2468, allocations: 3.938 kB / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2468, allocations: 4 kB / 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.000462/0.2473, allocations: 355.7 kB / 0.9027 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.2474, allocations: 12.03 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.376e-05/0.2474, allocations: 34.75 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.475e-05/0.2474, allocations: 0.9375 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.2475, allocations: 176.3 kB / 0.903 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.2476, allocations: 384 / 0.903 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.2476, allocations: 4.375 kB / 0.903 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.2478, allocations: 74.16 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2478, allocations: 3.938 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.2478, allocations: 4 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.2478, allocations: 7.984 kB / 0.903 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.248, allocations: 59.95 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.2484, allocations: 296.8 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.2485, allocations: 70.48 kB / 0.9035 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.8e-05/0.2486, allocations: 36.91 kB / 0.9035 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.2487, allocations: 7.938 kB / 0.9035 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.2487, allocations: 30.56 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.2487, allocations: 0 / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003668/0.2491, allocations: 129.5 kB / 0.9036 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.2491, allocations: 51.41 kB / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.616e-05/0.2492, allocations: 109.8 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.2492, allocations: 25.7 kB / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.2492, allocations: 92.06 kB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.2492, allocations: 11.81 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.2493, allocations: 0 / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.821e-05/0.2493, allocations: 322.8 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.464e-05/0.2494, allocations: 31.97 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.512e-05/0.2495, allocations: 27.97 kB / 0.9043 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.2497, allocations: 64.83 kB / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2497, allocations: 0 / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002382/0.2499, allocations: 97.58 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.25, allocations: 4 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.25, allocations: 0 / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.25, allocations: 4 kB / 0.9045 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.2501, allocations: 11.98 kB / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2501, allocations: 320 / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.471e-05/0.2502, allocations: 11.98 kB / 0.9045 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.2502, allocations: 0 / 0.9045 GB, free: 59.51 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 (intLesThr.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 5.509e-05/0.2503, allocations: 121.8 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.2503, allocations: 11.89 kB / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.054e-05/0.2503, allocations: 11.84 kB / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2503, allocations: 0 / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2503, allocations: 0 / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.2503, allocations: 0 / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.2505, allocations: 177.6 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2505, allocations: 0 / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.794e-05/0.2506, allocations: 15.98 kB / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2506, allocations: 4 kB / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.2506, allocations: 4.266 kB / 0.9048 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.2506, allocations: 0 / 0.9048 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2506, allocations: 3.984 kB / 0.9048 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.2509, allocations: 203.4 kB / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.2509, allocations: 81.02 kB / 0.9051 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.2509, allocations: 4 kB / 0.9051 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.988e-05/0.251, allocations: 11.98 kB / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.2511, allocations: 7.984 kB / 0.9051 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.2511, allocations: 0 / 0.9051 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.764e-05/0.2511, allocations: 91.27 kB / 0.9052 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2511, allocations: 4 kB / 0.9052 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001952/0.2513, allocations: 7.938 kB / 0.9052 GB, free: 58.66 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 (intLesThr.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.0004326/0.2518, allocations: 0.7319 MB / 0.9059 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.252, allocations: 63.94 kB / 0.906 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.252, allocations: 0 / 0.906 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.2521, allocations: 39.98 kB / 0.906 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.2524, allocations: 12.69 kB / 0.906 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.2535, allocations: 1.353 MB / 0.9073 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.2537, allocations: 0.6848 MB / 0.908 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.449e-05/0.2537, allocations: 3.906 kB / 0.908 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.2538, allocations: 23.42 kB / 0.908 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/0.2538, allocations: 0 / 0.908 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0106/0.2644, allocations: 1.544 MB / 0.9096 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.2647, allocations: 220.1 kB / 0.9098 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/1.964, allocations: 3.938 kB / 0.9098 GB, free: 53.99 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)