Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 191.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.184/1.184, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.481/1.481, allocations: 292.3 MB / 0.5489 GB, free: 12.81 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 74.59 kB / 0.6716 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1663, allocations: 114.6 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.003084/0.1694, allocations: 1.952 MB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1709, allocations: 1.027 MB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.171, allocations: 4 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.1713, allocations: 111.5 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.1716, allocations: 91.58 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.1719, allocations: 131.5 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.1721, allocations: 215.5 kB / 0.7869 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1722, allocations: 57.88 kB / 0.787 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1723, allocations: 87.64 kB / 0.7871 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1725, allocations: 107.5 kB / 0.7872 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.1725, allocations: 12 kB / 0.7872 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.1726, allocations: 63.95 kB / 0.7872 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.997e-05/0.1727, allocations: 55.83 kB / 0.7873 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.095e-05/0.1727, allocations: 87.41 kB / 0.7874 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.173, allocations: 287.2 kB / 0.7877 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.173, allocations: 0 / 0.7877 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.02e-07/0.173, allocations: 0 / 0.7877 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.173, allocations: 0 / 0.7877 GB, free: 9.059 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005636/0.1736, allocations: 0.5333 MB / 0.7882 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.139e-05/0.1736, allocations: 8.031 kB / 0.7882 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.919e-05/0.1737, allocations: 42.73 kB / 0.7882 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.1737, allocations: 24.66 kB / 0.7883 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.174, allocations: 299.7 kB / 0.7885 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.174, allocations: 16.11 kB / 0.7886 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.174, allocations: 8 kB / 0.7886 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.1742, allocations: 89.66 kB / 0.7886 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.178e-06/0.1742, allocations: 7.938 kB / 0.7887 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1742, allocations: 4 kB / 0.7887 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-06/0.1742, allocations: 0 / 0.7887 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.711e-05/0.1743, allocations: 47.97 kB / 0.7887 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.1748, allocations: 452.4 kB / 0.7891 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.175, allocations: 86.59 kB / 0.7892 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.1751, allocations: 28.84 kB / 0.7892 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.1751, allocations: 4 kB / 0.7892 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.1752, allocations: 79.33 kB / 0.7893 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.1752, allocations: 0 / 0.7893 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000261/0.1755, allocations: 129.3 kB / 0.7894 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.1755, allocations: 51.41 kB / 0.7895 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.1759, allocations: 374.9 kB / 0.7899 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1759, allocations: 29.7 kB / 0.7899 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.176, allocations: 144 kB / 0.79 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.176, allocations: 15.81 kB / 0.79 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.1761, allocations: 41.61 kB / 0.7901 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.127e-05/0.1762, allocations: 342.8 kB / 0.7904 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.1763, allocations: 55.97 kB / 0.7905 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.1764, allocations: 80.12 kB / 0.7905 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.1765, allocations: 93.64 kB / 0.7906 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1765, allocations: 0 / 0.7906 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002736/0.1768, allocations: 200.2 kB / 0.7908 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.1768, allocations: 4 kB / 0.7908 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.1768, allocations: 0 / 0.7908 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/0.1768, allocations: 0 / 0.7908 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.629e-05/0.1769, allocations: 27.92 kB / 0.7908 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.177, allocations: 3.938 kB / 0.7908 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.291e-05/0.1771, allocations: 15.94 kB / 0.7909 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.1771, allocations: 7.984 kB / 0.7909 GB, free: 5.523 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.ram.tab.nextTimeEvent,$whenCondition1,ram.tab.nextTimeEventScaled,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEvent,lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.1772, allocations: 160.3 kB / 0.791 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.1772, allocations: 23.66 kB / 0.791 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.1773, allocations: 29.73 kB / 0.7911 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1773, allocations: 4 kB / 0.7911 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.1773, allocations: 3.938 kB / 0.7911 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.1773, allocations: 0 / 0.7911 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.1775, allocations: 245.5 kB / 0.7913 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1775, allocations: 3.938 kB / 0.7913 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/0.1775, allocations: 4 kB / 0.7913 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1775, allocations: 0 / 0.7913 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.1775, allocations: 4 kB / 0.7913 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1775, allocations: 0 / 0.7913 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1775, allocations: 7.922 kB / 0.7913 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.1777, allocations: 136.8 kB / 0.7915 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.1778, allocations: 96.86 kB / 0.7916 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.1778, allocations: 8 kB / 0.7916 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.1779, allocations: 7.984 kB / 0.7916 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.1779, allocations: 15.98 kB / 0.7916 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.1779, allocations: 7.984 kB / 0.7916 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001885/0.1781, allocations: 233.9 kB / 0.7918 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1781, allocations: 0 / 0.7918 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002167/0.1784, allocations: 39.84 kB / 0.7919 GB, free: 4.422 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,lesHys.lesHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/0.1794, allocations: 0.9871 MB / 0.7928 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.1797, allocations: 115.7 kB / 0.7929 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1797, allocations: 4 kB / 0.7929 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.273e-05/0.1797, allocations: 35.92 kB / 0.793 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.18, allocations: 50.58 kB / 0.793 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.1822, allocations: 2.343 MB / 0.7953 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.1824, allocations: 0.7515 MB / 0.796 GB, free: 160 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001023/0.1825, allocations: 33.92 kB / 0.7961 GB, free: 128 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.025e-05/0.1826, allocations: 67.41 kB / 0.7961 GB, free: 60 kB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.1826, allocations: 0 / 0.7961 GB, free: 60 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.678/2.861, allocations: 5.129 MB / 0.8011 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.143/12, allocations: 1 kB / 0.8011 GB, free: 11.02 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)