Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.713/1.713, allocations: 289.9 MB / 297.4 MB, free: 6.371 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003402/0.003402, allocations: 176.8 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.2 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008711/0.0008708, allocations: 87.86 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.055e-05/3.068e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6786/0.6787, allocations: 116.3 MB / 0.9734 GB, free: 76.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1963/0.8751, allocations: 141.9 MB / 1.112 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.8754, allocations: 83.94 kB / 1.112 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02985/0.9052, allocations: 10.75 MB / 1.123 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9053, allocations: 0 / 1.123 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.76e-05/0.9053, allocations: 4 kB / 1.123 GB, free: 13.45 MB / 0.7292 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.0008813/0.9062, allocations: 0.5328 MB / 1.123 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.9063, allocations: 12.03 kB / 1.123 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.9064, allocations: 35.61 kB / 1.123 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007619/0.9072, allocations: 403.5 kB / 1.123 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.9072, allocations: 4 kB / 1.123 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.9073, allocations: 8 kB / 1.123 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001442/0.9074, allocations: 55.97 kB / 1.124 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.9076, allocations: 101.2 kB / 1.124 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.9076, allocations: 0 / 1.124 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.9076, allocations: 0 / 1.124 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.9076, allocations: 4 kB / 1.124 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008714/0.9085, allocations: 497 kB / 1.124 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.9087, allocations: 122.7 kB / 1.124 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.365e-05/0.9088, allocations: 47.47 kB / 1.124 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.9088, allocations: 0 / 1.124 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.909, allocations: 110.9 kB / 1.124 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 4.177e-06/0.9091, allocations: 0 / 1.124 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0003705/0.9094, allocations: 169.4 kB / 1.125 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.9095, allocations: 55.36 kB / 1.125 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005766/0.9101, allocations: 466.1 kB / 1.125 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.9101, allocations: 29.7 kB / 1.125 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.9103, allocations: 164.4 kB / 1.125 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.9103, allocations: 35.55 kB / 1.125 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/0.9103, allocations: 4 kB / 1.125 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.9105, allocations: 350.8 kB / 1.126 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.9107, allocations: 104.5 kB / 1.126 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.9109, allocations: 143.4 kB / 1.126 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.9112, allocations: 135.9 kB / 1.126 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.9113, allocations: 4.938 kB / 1.126 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000631/0.9119, allocations: 350.1 kB / 1.126 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.9119, allocations: 4 kB / 1.126 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.9119, allocations: 0 / 1.126 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.912, allocations: 4 kB / 1.126 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.9122, allocations: 47.91 kB / 1.126 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.9122, allocations: 4 kB / 1.126 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.9124, allocations: 23.78 kB / 1.126 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.9124, allocations: 16.06 kB / 1.126 GB, free: 9.266 MB / 0.7292 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.0001007/0.9126, allocations: 120.9 kB / 1.127 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002526/0.9128, allocations: 162.6 kB / 1.127 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.9129, allocations: 35.53 kB / 1.127 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/0.9132, allocations: 191.6 kB / 1.127 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.9132, allocations: 3.984 kB / 1.127 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.9132, allocations: 3.953 kB / 1.127 GB, free: 8.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.9132, allocations: 15.92 kB / 1.127 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.9135, allocations: 274 kB / 1.127 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.9135, allocations: 1.375 kB / 1.127 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.156e-05/0.9136, allocations: 15.98 kB / 1.127 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.9136, allocations: 0 / 1.127 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.9136, allocations: 4 kB / 1.127 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.9136, allocations: 0 / 1.127 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.9136, allocations: 0 / 1.127 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.9139, allocations: 205.8 kB / 1.127 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.9141, allocations: 128.7 kB / 1.127 GB, free: 8.047 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.9141, allocations: 4 kB / 1.128 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.9142, allocations: 7.984 kB / 1.128 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.287e-05/0.9143, allocations: 19.97 kB / 1.128 GB, free: 8.016 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.9143, allocations: 7.312 kB / 1.128 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000342/0.9147, allocations: 300.5 kB / 1.128 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9147, allocations: 0 / 1.128 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003606/0.9151, allocations: 71.94 kB / 1.128 GB, free: 7.652 MB / 0.7292 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.001307/0.9164, allocations: 0.9996 MB / 1.129 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002793/0.9167, allocations: 180.2 kB / 1.129 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9167, allocations: 4.062 kB / 1.129 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.9168, allocations: 59.92 kB / 1.129 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.9172, allocations: 78.64 kB / 1.129 GB, free: 6.438 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009267/0.9181, allocations: 0.5214 MB / 1.13 GB, free: 5.879 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.9185, allocations: 0.7968 MB / 1.13 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001691/0.9187, allocations: 50.62 kB / 1.131 GB, free: 5.016 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.9189, allocations: 115.4 kB / 1.131 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of SimCode: time 3.21e-07/0.9189, allocations: 0 / 1.131 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.9474, allocations: 6.485 MB / 1.137 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/0.9477, allocations: 176.2 kB / 1.137 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.177/3.125, allocations: 1.5 kB / 1.137 GB, free: 14.36 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)