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.Less.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.Less,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Less",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.602/1.602, allocations: 249.5 MB / 257 MB, free: 6.961 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.001098/0.001098, allocations: 180.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.655/1.655, 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.0008303/0.0008303, allocations: 94.44 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.255e-05/2.236e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.224, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8195/1.044, allocations: 135.6 MB / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/1.044, allocations: 78.27 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02724/1.071, allocations: 10.5 MB / 1.028 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.433e-06/1.071, allocations: 0 / 1.028 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.907e-05/1.071, allocations: 12.12 kB / 1.028 GB, free: 9.074 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006849/1.072, allocations: 0.523 MB / 1.029 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.072, allocations: 8.031 kB / 1.029 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.673e-05/1.072, allocations: 35.53 kB / 1.029 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006124/1.073, allocations: 369.5 kB / 1.029 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/1.073, allocations: 4 kB / 1.029 GB, free: 8.117 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/1.073, allocations: 7.984 kB / 1.029 GB, free: 8.109 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000139/1.073, allocations: 61.77 kB / 1.029 GB, free: 8.066 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/1.073, allocations: 98.58 kB / 1.029 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/1.073, allocations: 0 / 1.029 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/1.073, allocations: 7.984 kB / 1.029 GB, free: 7.977 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/1.073, allocations: 0 / 1.029 GB, free: 7.977 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007145/1.074, allocations: 483.4 kB / 1.03 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/1.074, allocations: 116.5 kB / 1.03 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.729e-05/1.074, allocations: 44.91 kB / 1.03 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/1.074, allocations: 7.938 kB / 1.03 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/1.074, allocations: 114.4 kB / 1.03 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/1.074, allocations: 0 / 1.03 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0003286/1.075, allocations: 163.3 kB / 1.03 GB, free: 7.172 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/1.075, allocations: 55.39 kB / 1.03 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004954/1.075, allocations: 443.4 kB / 1.031 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/1.075, allocations: 29.7 kB / 1.031 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/1.075, allocations: 165.5 kB / 1.031 GB, free: 6.609 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/1.075, allocations: 27.08 kB / 1.031 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.611e-05/1.075, allocations: 0 / 1.031 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.076, allocations: 354.9 kB / 1.031 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/1.076, allocations: 105.1 kB / 1.031 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/1.076, allocations: 141.7 kB / 1.031 GB, free: 6.07 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/1.076, allocations: 114.7 kB / 1.031 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.076, allocations: 0 / 1.031 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004585/1.077, allocations: 335.5 kB / 1.032 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/1.077, allocations: 12.06 kB / 1.032 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.077, allocations: 0 / 1.032 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/1.077, allocations: 0 / 1.032 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/1.077, allocations: 51.91 kB / 1.032 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/1.077, allocations: 0 / 1.032 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/1.077, allocations: 35.12 kB / 1.032 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/1.077, allocations: 12 kB / 1.032 GB, free: 5.625 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 0.0001006/1.077, allocations: 114.7 kB / 1.032 GB, free: 5.512 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002375/1.077, allocations: 176.5 kB / 1.032 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/1.078, allocations: 27.62 kB / 1.032 GB, free: 5.332 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/1.078, allocations: 188.9 kB / 1.032 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/1.078, allocations: 7.953 kB / 1.032 GB, free: 5.168 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.078, allocations: 3.984 kB / 1.032 GB, free: 5.164 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.078, allocations: 0 / 1.032 GB, free: 5.164 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/1.078, allocations: 281.1 kB / 1.033 GB, free: 4.895 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/1.078, allocations: 0 / 1.033 GB, free: 4.895 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.034e-05/1.078, allocations: 19.92 kB / 1.033 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/1.078, allocations: 4 kB / 1.033 GB, free: 4.871 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/1.078, allocations: 4 kB / 1.033 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/1.078, allocations: 0 / 1.033 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.078, allocations: 0 / 1.033 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/1.079, allocations: 203.6 kB / 1.033 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/1.079, allocations: 112.2 kB / 1.033 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/1.079, allocations: 7.984 kB / 1.033 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/1.079, allocations: 4 kB / 1.033 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/1.079, allocations: 27.22 kB / 1.033 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/1.079, allocations: 7.938 kB / 1.033 GB, free: 4.52 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002846/1.079, allocations: 292.2 kB / 1.033 GB, free: 4.297 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.079, allocations: 0 / 1.033 GB, free: 4.297 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002919/1.08, allocations: 63.2 kB / 1.033 GB, free: 4.238 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: 9 ($whenCondition2,$whenCondition1,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001241/1.081, allocations: 1 MB / 1.034 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002786/1.081, allocations: 183.5 kB / 1.034 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.081, allocations: 0 / 1.034 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.969e-05/1.081, allocations: 56.05 kB / 1.035 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/1.082, allocations: 82.39 kB / 1.035 GB, free: 3.102 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009244/1.083, allocations: 0.4988 MB / 1.035 GB, free: 2.625 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/1.083, allocations: 0.7927 MB / 1.036 GB, free: 1.812 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001464/1.083, allocations: 51.27 kB / 1.036 GB, free: 1.762 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/1.083, allocations: 103.2 kB / 1.036 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of SimCode: time 2.81e-07/1.083, allocations: 0 / 1.036 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/1.109, allocations: 6.24 MB / 1.042 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/1.109, allocations: 185.6 kB / 1.042 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.991, allocations: 4.031 kB / 1.042 GB, free: 11.32 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)