Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.397/2.397, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001492/0.001492, allocations: 184.9 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001084/0.001084, allocations: 90.86 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.698e-05/2.707e-05, allocations: 4 kB / 0.8509 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8313/0.8313, allocations: 115.3 MB / 0.9634 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2476/1.079, allocations: 140.8 MB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/1.079, allocations: 76.92 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04896/1.128, allocations: 10.76 MB / 1.111 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.533e-06/1.128, allocations: 0 / 1.111 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.026e-05/1.128, allocations: 11.98 kB / 1.111 GB, free: 4.934 MB / 0.7136 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.001042/1.13, allocations: 0.5328 MB / 1.112 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/1.13, allocations: 16.02 kB / 1.112 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/1.13, allocations: 34.64 kB / 1.112 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/1.131, allocations: 399.6 kB / 1.112 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/1.131, allocations: 4 kB / 1.112 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/1.131, allocations: 4 kB / 1.112 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000214/1.131, allocations: 63.91 kB / 1.112 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/1.131, allocations: 93.55 kB / 1.113 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.131, allocations: 0 / 1.113 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/1.132, allocations: 0 / 1.113 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/1.132, allocations: 4 kB / 1.113 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/1.133, allocations: 497 kB / 1.113 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/1.133, allocations: 118.8 kB / 1.113 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/1.133, allocations: 47 kB / 1.113 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/1.133, allocations: 4 kB / 1.113 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/1.134, allocations: 105 kB / 1.113 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 2.455e-06/1.134, allocations: 4 kB / 1.113 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.000564/1.134, allocations: 165.4 kB / 1.113 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/1.134, allocations: 51.62 kB / 1.114 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009119/1.135, allocations: 466.1 kB / 1.114 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/1.135, allocations: 33.64 kB / 1.114 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/1.135, allocations: 164.4 kB / 1.114 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/1.135, allocations: 39.55 kB / 1.114 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/1.136, allocations: 0 / 1.114 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001683/1.136, allocations: 346.8 kB / 1.115 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/1.136, allocations: 112.5 kB / 1.115 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/1.136, allocations: 135.4 kB / 1.115 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005927/1.137, allocations: 148.8 kB / 1.115 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/1.137, allocations: 0 / 1.115 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001128/1.138, allocations: 341.2 kB / 1.115 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/1.138, allocations: 8.781 kB / 1.115 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.138, allocations: 0 / 1.115 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/1.138, allocations: 4 kB / 1.115 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/1.139, allocations: 54.91 kB / 1.115 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/1.139, allocations: 11.95 kB / 1.115 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/1.139, allocations: 15.83 kB / 1.115 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-05/1.139, allocations: 13.78 kB / 1.115 GB, free: 0.7656 MB / 0.7136 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.000148/1.139, allocations: 128.7 kB / 1.115 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004248/1.14, allocations: 166.5 kB / 1.116 GB, free: 476 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/1.14, allocations: 35.53 kB / 1.116 GB, free: 440 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005313/1.14, allocations: 191.7 kB / 1.116 GB, free: 240 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/1.14, allocations: 7.938 kB / 1.116 GB, free: 232 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.14, allocations: 0 / 1.116 GB, free: 232 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.14, allocations: 0 / 1.116 GB, free: 232 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/1.141, allocations: 282.1 kB / 1.116 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/1.141, allocations: 0 / 1.116 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/1.141, allocations: 15.98 kB / 1.116 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/1.141, allocations: 3.938 kB / 1.116 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/1.141, allocations: 4 kB / 1.116 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/1.141, allocations: 0 / 1.116 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.141, allocations: 0 / 1.116 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00047/1.141, allocations: 213.6 kB / 1.116 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/1.142, allocations: 116.7 kB / 1.116 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.71e-05/1.142, allocations: 1.812 kB / 1.116 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/1.142, allocations: 11.98 kB / 1.116 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.968e-05/1.142, allocations: 22.5 kB / 1.116 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/1.142, allocations: 8 kB / 1.116 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005127/1.143, allocations: 300.5 kB / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.51e-07/1.143, allocations: 4 kB / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005075/1.143, allocations: 63.94 kB / 1.117 GB, free: 15.13 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.001783/1.145, allocations: 1.009 MB / 1.118 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005499/1.146, allocations: 183.8 kB / 1.118 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.146, allocations: 0 / 1.118 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/1.146, allocations: 59.98 kB / 1.118 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000704/1.147, allocations: 72.97 kB / 1.118 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/1.148, allocations: 0.5137 MB / 1.119 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/1.149, allocations: 0.7952 MB / 1.119 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002711/1.149, allocations: 58.11 kB / 1.119 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/1.149, allocations: 111.4 kB / 1.12 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of SimCode: time 9.82e-07/1.149, allocations: 0 / 1.12 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04423/1.193, allocations: 6.49 MB / 1.126 GB, free: 6.082 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/1.194, allocations: 176.5 kB / 1.126 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.618/3.812, allocations: 0 / 1.126 GB, free: 5.887 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)