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.001158/0.001158, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 191.7 kB / 16.14 MB, free: 6.727 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.171/1.171, allocations: 205.1 MB / 222 MB, free: 4.738 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.531/1.531, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.001511/0.001511, allocations: 71.11 kB / 0.6709 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1636, allocations: 114.6 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.002771/0.1664, allocations: 2.003 MB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.1677, allocations: 1.015 MB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.183e-05/0.1678, allocations: 7.938 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.1681, allocations: 99.67 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.1683, allocations: 83.72 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.1685, allocations: 107.8 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.1687, allocations: 211.4 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.1689, allocations: 61.89 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.169, allocations: 79.56 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.1691, allocations: 95.59 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.1691, allocations: 4 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1692, allocations: 55.97 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.256e-05/0.1693, allocations: 55.75 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.189e-05/0.1694, allocations: 79.42 kB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.1697, allocations: 279.3 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1697, allocations: 0 / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.31e-07/0.1697, allocations: 0 / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.1697, allocations: 0 / 0.7869 GB, free: 9.633 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.0006393/0.1703, allocations: 0.5333 MB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1704, allocations: 12.03 kB / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.731e-05/0.1704, allocations: 42.67 kB / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.1705, allocations: 28.66 kB / 0.7875 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.1708, allocations: 299.8 kB / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1708, allocations: 12.12 kB / 0.7878 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.1708, allocations: 8 kB / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.171, allocations: 90.58 kB / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.171, allocations: 7.938 kB / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.171, allocations: 4 kB / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1711, allocations: 0 / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.1712, allocations: 51.95 kB / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005833/0.1718, allocations: 452.4 kB / 0.7884 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.172, allocations: 78.66 kB / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.953e-05/0.1721, allocations: 28.86 kB / 0.7885 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.1721, allocations: 7.984 kB / 0.7885 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.1722, allocations: 75.27 kB / 0.7886 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.1722, allocations: 0 / 0.7886 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002884/0.1725, allocations: 133.4 kB / 0.7887 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.1726, allocations: 51.41 kB / 0.7888 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.1729, allocations: 378.9 kB / 0.7891 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.1729, allocations: 25.7 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.173, allocations: 140 kB / 0.7893 GB, free: 7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.173, allocations: 15.81 kB / 0.7893 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.376e-05/0.1731, allocations: 45.61 kB / 0.7894 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.546e-05/0.1732, allocations: 334.8 kB / 0.7897 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1733, allocations: 59.97 kB / 0.7897 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.1734, allocations: 88.22 kB / 0.7898 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.1736, allocations: 92.73 kB / 0.7899 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1736, allocations: 0 / 0.7899 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002828/0.1739, allocations: 197.2 kB / 0.7901 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.1739, allocations: 4 kB / 0.7901 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.1739, allocations: 3.984 kB / 0.7901 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1739, allocations: 4 kB / 0.7901 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.174, allocations: 24.03 kB / 0.7901 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.174, allocations: 0 / 0.7901 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.72e-05/0.1741, allocations: 15.92 kB / 0.7901 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.1742, allocations: 4 kB / 0.7901 GB, free: 6.102 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.0001154/0.1743, allocations: 159.4 kB / 0.7903 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-05/0.1743, allocations: 27.66 kB / 0.7903 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.1744, allocations: 25.73 kB / 0.7903 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1744, allocations: 0 / 0.7903 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1744, allocations: 4 kB / 0.7903 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1744, allocations: 0 / 0.7903 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.1746, allocations: 253.5 kB / 0.7906 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1746, allocations: 3.938 kB / 0.7906 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-05/0.1746, allocations: 4 kB / 0.7906 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1746, allocations: 0 / 0.7906 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1746, allocations: 4 kB / 0.7906 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1746, allocations: 4 kB / 0.7906 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1747, allocations: 0 / 0.7906 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.1749, allocations: 136.8 kB / 0.7907 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.1749, allocations: 104.9 kB / 0.7908 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.175, allocations: 0 / 0.7908 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.731e-05/0.1751, allocations: 11.98 kB / 0.7908 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.1751, allocations: 11.98 kB / 0.7909 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.1751, allocations: 3.984 kB / 0.7909 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002053/0.1753, allocations: 229.9 kB / 0.7911 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1753, allocations: 0 / 0.7911 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002302/0.1756, allocations: 51.84 kB / 0.7911 GB, free: 4.996 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.001233/0.1768, allocations: 0.9943 MB / 0.7921 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.177, allocations: 103.9 kB / 0.7922 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.177, allocations: 4.062 kB / 0.7922 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.524e-05/0.1771, allocations: 35.97 kB / 0.7922 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.1774, allocations: 52.14 kB / 0.7923 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.1798, allocations: 2.383 MB / 0.7946 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.1801, allocations: 0.7476 MB / 0.7953 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.252e-05/0.1802, allocations: 29.94 kB / 0.7954 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.1803, allocations: 75.41 kB / 0.7954 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.1803, allocations: 0 / 0.7954 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3063/0.4866, allocations: 4.846 MB / 0.8002 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/0.4869, allocations: 243 kB / 0.8004 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.121, allocations: 3.938 kB / 0.8004 GB, free: 11.61 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)