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.395/1.395, allocations: 249.5 MB / 257 MB, free: 6.852 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.0009961/0.000996, allocations: 184.9 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008878/0.0008877, allocations: 91.3 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.176e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2191, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7993/1.018, allocations: 131.9 MB / 1.014 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/1.019, allocations: 72.2 kB / 1.014 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003235/1.022, allocations: 0.9593 MB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.853e-06/1.022, allocations: 2.734 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.815e-06/1.022, allocations: 0.75 kB / 1.015 GB, free: 4.605 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.0004721/1.022, allocations: 354 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/1.023, allocations: 8.031 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/1.023, allocations: 7.906 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/1.023, allocations: 167 kB / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/1.023, allocations: 4 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/1.023, allocations: 0 / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.979e-05/1.023, allocations: 25.75 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/1.023, allocations: 59.66 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/1.023, allocations: 8 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/1.023, allocations: 0 / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/1.023, allocations: 3.938 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/1.024, allocations: 264.2 kB / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/1.024, allocations: 41.39 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.484e-05/1.024, allocations: 27.2 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/1.024, allocations: 0 / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/1.024, allocations: 34.5 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/1.024, allocations: 0 / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001838/1.024, allocations: 56.34 kB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/1.024, allocations: 55.41 kB / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.143e-05/1.024, allocations: 95.5 kB / 1.016 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/1.024, allocations: 25.7 kB / 1.016 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/1.024, allocations: 95.38 kB / 1.016 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/1.024, allocations: 7.812 kB / 1.016 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/1.024, allocations: 0 / 1.016 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.024, allocations: 322 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.06e-05/1.024, allocations: 11.23 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.474e-05/1.024, allocations: 11.81 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.078e-05/1.024, allocations: 7.5 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/1.025, allocations: 0 / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000104/1.025, allocations: 56.81 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/1.025, allocations: 12 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/1.025, allocations: 0 / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/1.025, allocations: 0 / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/1.025, allocations: 15.98 kB / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/1.025, allocations: 3.984 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.545e-05/1.025, allocations: 9.562 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/1.025, allocations: 3.984 kB / 1.017 GB, free: 2.738 MB / 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 9.324e-05/1.025, allocations: 116.2 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001214/1.025, allocations: 68.47 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/1.025, allocations: 0 / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/1.025, allocations: 4.344 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.025, allocations: 4 kB / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.025, allocations: 0 / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.025, allocations: 0 / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/1.026, allocations: 155.3 kB / 1.017 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.026, allocations: 0 / 1.017 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/1.026, allocations: 19.98 kB / 1.017 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/1.026, allocations: 0 / 1.017 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/1.026, allocations: 3.938 kB / 1.017 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/1.026, allocations: 3.938 kB / 1.017 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.026, allocations: 0 / 1.017 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/1.026, allocations: 164.6 kB / 1.017 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/1.026, allocations: 81.14 kB / 1.017 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/1.026, allocations: 0 / 1.017 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/1.026, allocations: 15.98 kB / 1.017 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/1.026, allocations: 11.36 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/1.026, allocations: 0 / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.441e-05/1.026, allocations: 90.66 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.01e-07/1.026, allocations: 0 / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002689/1.027, allocations: 8 kB / 1.018 GB, free: 1.957 MB / 0.6355 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.0004574/1.027, allocations: 0.6992 MB / 1.018 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001068/1.027, allocations: 29.48 kB / 1.018 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.027, allocations: 0 / 1.018 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.503e-05/1.027, allocations: 19 kB / 1.018 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/1.027, allocations: 7.188 kB / 1.018 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/1.028, allocations: 115.6 kB / 1.018 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/1.028, allocations: 0.6885 MB / 1.019 GB, free: 352 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.663e-05/1.028, allocations: 4 kB / 1.019 GB, free: 348 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/1.028, allocations: 18.61 kB / 1.019 GB, free: 336 kB / 0.6355 GB Notification: Performance of SimCode: time 3.3e-07/1.028, allocations: 0 / 1.019 GB, free: 336 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/1.048, allocations: 1.185 MB / 1.02 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/1.048, allocations: 166.5 kB / 1.02 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/2.548, allocations: 5.406 kB / 1.02 GB, free: 14.96 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)