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.455/1.455, allocations: 249.5 MB / 257 MB, free: 6.855 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.0009978/0.0009979, allocations: 179.7 kB / 316.3 MB, free: 3.246 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.535/1.535, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0008719/0.0008717, allocations: 89.39 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.522e-05/2.524e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2413, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7151/0.9564, allocations: 131.9 MB / 1.014 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.9566, allocations: 71.7 kB / 1.014 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002753/0.9594, allocations: 0.9579 MB / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.914e-06/0.9594, allocations: 0 / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.9594, allocations: 0 / 1.015 GB, free: 4.609 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.0004107/0.9599, allocations: 354.3 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.9599, allocations: 12.03 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.96, allocations: 7.906 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.9601, allocations: 167 kB / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.9602, allocations: 0 / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.9602, allocations: 0 / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.306e-05/0.9603, allocations: 27.86 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.9604, allocations: 52 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.9604, allocations: 3.828 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.9604, allocations: 0 / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.9604, allocations: 0 / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.9608, allocations: 261.8 kB / 1.016 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.84e-05/0.9609, allocations: 47.94 kB / 1.016 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/0.961, allocations: 16.27 kB / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.961, allocations: 0 / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.961, allocations: 38.5 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.961, allocations: 0 / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001744/0.9612, allocations: 56.86 kB / 1.016 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.9613, allocations: 55.41 kB / 1.016 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.639e-05/0.9614, allocations: 104.1 kB / 1.016 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.9614, allocations: 25.7 kB / 1.016 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.9614, allocations: 83.77 kB / 1.016 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.9615, allocations: 11.81 kB / 1.016 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.9615, allocations: 0 / 1.016 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.9616, allocations: 323.8 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.552e-05/0.9616, allocations: 10.81 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.903e-05/0.9617, allocations: 10.44 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.715e-05/0.9617, allocations: 11.17 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.9617, allocations: 0 / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.897e-05/0.9618, allocations: 64.94 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.9618, allocations: 4 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.9618, allocations: 0.625 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.9619, allocations: 0 / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.962, allocations: 19.98 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.962, allocations: 0 / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.696e-05/0.9621, allocations: 19.86 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.9621, allocations: 0 / 1.017 GB, free: 2.75 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 (intLesEquThr.u,intLesEquThr.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 7.619e-05/0.9622, allocations: 112.1 kB / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001059/0.9623, allocations: 64.47 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.9623, allocations: 0 / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/0.9624, allocations: 11.78 kB / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/0.9624, allocations: 4 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.9624, allocations: 3.984 kB / 1.017 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.9624, allocations: 0 / 1.017 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.9626, allocations: 153.2 kB / 1.017 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.9626, allocations: 0 / 1.017 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.272e-05/0.9627, allocations: 16.86 kB / 1.017 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.9627, allocations: 0 / 1.017 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-06/0.9627, allocations: 0 / 1.017 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.9627, allocations: 0 / 1.017 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.9627, allocations: 4 kB / 1.017 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.9628, allocations: 163.4 kB / 1.017 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.9629, allocations: 77.11 kB / 1.017 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.9629, allocations: 3.375 kB / 1.017 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.963, allocations: 11.98 kB / 1.017 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/0.9631, allocations: 11.17 kB / 1.017 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.9631, allocations: 4 kB / 1.017 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.587e-05/0.9632, allocations: 94.58 kB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9632, allocations: 0 / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002306/0.9634, allocations: 11.98 kB / 1.018 GB, free: 1.969 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 (intLesEquThr.u,intLesEquThr.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.000424/0.9639, allocations: 0.6942 MB / 1.018 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.259e-05/0.964, allocations: 29.62 kB / 1.018 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.964, allocations: 0 / 1.018 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/0.964, allocations: 26.3 kB / 1.018 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.9642, allocations: 4 kB / 1.018 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003919/0.9646, allocations: 116.5 kB / 1.018 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.9649, allocations: 0.6807 MB / 1.019 GB, free: 372 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.888e-05/0.9649, allocations: 8 kB / 1.019 GB, free: 364 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.965, allocations: 14.48 kB / 1.019 GB, free: 356 kB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/0.965, allocations: 4 kB / 1.019 GB, free: 352 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.9852, allocations: 1.195 MB / 1.02 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/0.9855, allocations: 166.1 kB / 1.02 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/2.524, allocations: 1.25 kB / 1.02 GB, free: 14.97 MB / 0.6511 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)