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.498/1.498, allocations: 249.3 MB / 261.8 MB, free: 5.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008971/0.0008971, allocations: 174.1 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0009958/0.000996, allocations: 82.55 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.83e-05/3.832e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2304, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8351/1.066, allocations: 131.6 MB / 1.02 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/1.066, allocations: 76.58 kB / 1.021 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003017/1.069, allocations: 0.9632 MB / 1.021 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.074e-06/1.069, allocations: 2.734 kB / 1.021 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.023e-06/1.069, allocations: 0 / 1.021 GB, free: 2.164 MB / 0.6355 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.0004407/1.069, allocations: 349.5 kB / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/1.069, allocations: 12.03 kB / 1.022 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.708e-05/1.07, allocations: 37.62 kB / 1.022 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/1.07, allocations: 3.906 kB / 1.022 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/1.07, allocations: 167 kB / 1.022 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/1.07, allocations: 7.938 kB / 1.022 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/1.07, allocations: 3.062 kB / 1.022 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/1.07, allocations: 53.48 kB / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/1.07, allocations: 0 / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/1.07, allocations: 0 / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/1.07, allocations: 7.828 kB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.991e-05/1.07, allocations: 23.62 kB / 1.022 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/1.071, allocations: 289.6 kB / 1.022 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/1.071, allocations: 53.66 kB / 1.022 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.035e-05/1.071, allocations: 16.17 kB / 1.022 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/1.071, allocations: 144 / 1.022 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/1.071, allocations: 44.39 kB / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/1.071, allocations: 0 / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001887/1.071, allocations: 60.16 kB / 1.023 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/1.071, allocations: 59.36 kB / 1.023 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.649e-05/1.071, allocations: 100.1 kB / 1.023 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/1.071, allocations: 25.7 kB / 1.023 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/1.071, allocations: 86.62 kB / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/1.071, allocations: 11.81 kB / 1.023 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-06/1.071, allocations: 3.062 kB / 1.023 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.071, allocations: 314.8 kB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.32e-05/1.071, allocations: 18.38 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.723e-05/1.072, allocations: 19.45 kB / 1.023 GB, free: 324 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.022e-05/1.072, allocations: 7.438 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.072, allocations: 0 / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001043/1.072, allocations: 56.5 kB / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.072, allocations: 4 kB / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/1.072, allocations: 3.938 kB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/1.072, allocations: 0 / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/1.072, allocations: 19.98 kB / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/1.072, allocations: 0 / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.853e-05/1.072, allocations: 19.31 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/1.072, allocations: 3.938 kB / 1.023 GB, free: 216 kB / 0.6355 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.u,intLesThr.y) * Number of discrete 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 8.48e-05/1.072, allocations: 112.9 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/1.072, allocations: 3.906 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/1.072, allocations: 7.844 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/1.072, allocations: 8 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.072, allocations: 0 / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/1.072, allocations: 0 / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/1.072, allocations: 173.5 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.072, allocations: 0 / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.399e-05/1.072, allocations: 19.3 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/1.073, allocations: 0 / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/1.073, allocations: 0 / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/1.073, allocations: 3.188 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.073, allocations: 8 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/1.073, allocations: 162 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/1.073, allocations: 81.02 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/1.073, allocations: 0 / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/1.073, allocations: 11.98 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/1.073, allocations: 11.67 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/1.073, allocations: 0 / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.674e-05/1.073, allocations: 94.89 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.073, allocations: 0 / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002038/1.073, allocations: 8 kB / 1.024 GB, free: 15.46 MB / 0.6511 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.u,intLesThr.y) * Number of discrete 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.000459/1.074, allocations: 0.6978 MB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001182/1.074, allocations: 32.03 kB / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.074, allocations: 4 kB / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.791e-05/1.074, allocations: 19.28 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/1.074, allocations: 4 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000402/1.075, allocations: 121.2 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/1.075, allocations: 0.6926 MB / 1.025 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.889e-05/1.075, allocations: 8.25 kB / 1.025 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/1.075, allocations: 18.55 kB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of SimCode: time 3.61e-07/1.075, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01215/1.087, allocations: 1.515 MB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/1.087, allocations: 175.1 kB / 1.027 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/2.67, allocations: 0 / 1.027 GB, free: 12.21 MB / 0.6511 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)