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.001313/0.001313, 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.001259/0.001259, allocations: 195.5 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.415/1.415, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.69/1.69, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001477/0.001478, allocations: 71.7 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2498, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.00364/0.2535, allocations: 1.942 MB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.2551, allocations: 1.027 MB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.2553, allocations: 11.88 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004176/0.2557, allocations: 107.5 kB / 0.7865 GB, free: 10.26 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.0002661/0.256, allocations: 99.52 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.2564, allocations: 122.4 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.2567, allocations: 219.5 kB / 0.7869 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.2569, allocations: 53.91 kB / 0.787 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.257, allocations: 95.56 kB / 0.7871 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.2571, allocations: 95.59 kB / 0.7872 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.2572, allocations: 12 kB / 0.7872 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.2573, allocations: 71.95 kB / 0.7872 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.703e-05/0.2574, allocations: 59.77 kB / 0.7873 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.2575, allocations: 83.42 kB / 0.7874 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.2579, allocations: 279.3 kB / 0.7876 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2579, allocations: 0 / 0.7876 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2579, allocations: 4 kB / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.2579, allocations: 0 / 0.7876 GB, free: 9.094 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.0008447/0.2587, allocations: 0.5333 MB / 0.7882 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.2588, allocations: 12.03 kB / 0.7882 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.272e-05/0.2589, allocations: 38.73 kB / 0.7882 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.2589, allocations: 28.59 kB / 0.7882 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.2593, allocations: 303.7 kB / 0.7885 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.2593, allocations: 16.12 kB / 0.7886 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.2594, allocations: 8 kB / 0.7886 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.2596, allocations: 94.58 kB / 0.7886 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2596, allocations: 0 / 0.7886 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.2596, allocations: 0 / 0.7886 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.2596, allocations: 3.984 kB / 0.7887 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.2598, allocations: 51.92 kB / 0.7887 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007127/0.2605, allocations: 452.4 kB / 0.7891 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.2607, allocations: 82.66 kB / 0.7892 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.723e-05/0.2608, allocations: 28.84 kB / 0.7892 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.2609, allocations: 4 kB / 0.7892 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.261, allocations: 79.3 kB / 0.7893 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 4.338e-06/0.2611, allocations: 0 / 0.7893 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003338/0.2614, allocations: 129.6 kB / 0.7894 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.2615, allocations: 55.41 kB / 0.7895 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003839/0.2619, allocations: 374.9 kB / 0.7899 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.2619, allocations: 29.7 kB / 0.7899 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.262, allocations: 140 kB / 0.79 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.262, allocations: 15.8 kB / 0.79 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-05/0.2621, allocations: 49.55 kB / 0.7901 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.2623, allocations: 334.8 kB / 0.7904 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.2624, allocations: 59.97 kB / 0.7905 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.2625, allocations: 84.12 kB / 0.7905 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.2627, allocations: 89.64 kB / 0.7906 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2627, allocations: 0 / 0.7906 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003142/0.263, allocations: 199.8 kB / 0.7908 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.2631, allocations: 4 kB / 0.7908 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2631, allocations: 0 / 0.7908 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.2631, allocations: 4 kB / 0.7908 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.2632, allocations: 23.95 kB / 0.7908 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.2632, allocations: 12.06 kB / 0.7909 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.771e-05/0.2633, allocations: 11.94 kB / 0.7909 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.2634, allocations: 7.984 kB / 0.7909 GB, free: 5.547 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.0001533/0.2635, allocations: 156.2 kB / 0.791 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.2636, allocations: 27.66 kB / 0.791 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.882e-05/0.2636, allocations: 25.73 kB / 0.7911 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2637, allocations: 0 / 0.7911 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2637, allocations: 4 kB / 0.7911 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2637, allocations: 4 kB / 0.7911 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.2639, allocations: 241.5 kB / 0.7913 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2639, allocations: 3.938 kB / 0.7913 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-05/0.2639, allocations: 4 kB / 0.7913 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.264, allocations: 0 / 0.7913 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.264, allocations: 8 kB / 0.7913 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.264, allocations: 7.984 kB / 0.7913 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.264, allocations: 0 / 0.7913 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.2642, allocations: 136.8 kB / 0.7915 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.2643, allocations: 100.9 kB / 0.7916 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.2643, allocations: 0 / 0.7916 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/0.2644, allocations: 7.984 kB / 0.7916 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.2645, allocations: 15.98 kB / 0.7916 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.2645, allocations: 3.984 kB / 0.7916 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002226/0.2647, allocations: 233.9 kB / 0.7918 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2647, allocations: 0 / 0.7918 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002506/0.265, allocations: 39.84 kB / 0.7918 GB, free: 4.457 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.001384/0.2664, allocations: 0.9972 MB / 0.7928 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002624/0.2666, allocations: 115.9 kB / 0.7929 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.2667, allocations: 8.062 kB / 0.7929 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.759e-05/0.2667, allocations: 23.98 kB / 0.793 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.2671, allocations: 52.14 kB / 0.793 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.2697, allocations: 2.355 MB / 0.7953 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.27, allocations: 0.7437 MB / 0.796 GB, free: 184 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.69e-05/0.2701, allocations: 30.08 kB / 0.7961 GB, free: 156 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.2702, allocations: 71.41 kB / 0.7961 GB, free: 84 kB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.2702, allocations: 4 kB / 0.7961 GB, free: 80 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.2955, allocations: 5.113 MB / 0.8011 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/8.121, allocations: 6.656 kB / 0.8011 GB, free: 11.06 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-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)