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.0009019/0.0009019, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009132/0.0009132, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.867/1.867, allocations: 292.6 MB / 0.5497 GB, free: 14.59 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.0005393/0.0005393, allocations: 15.91 kB / 0.6737 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2745, allocations: 116.3 MB / 0.7872 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.002775/0.2773, allocations: 1.61 MB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.2792, allocations: 0.9457 MB / 0.7897 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.2794, allocations: 7.938 kB / 0.7897 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003891/0.2798, allocations: 87.73 kB / 0.7898 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.2801, allocations: 91.69 kB / 0.7899 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.2805, allocations: 107 kB / 0.79 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.2808, allocations: 127.7 kB / 0.7901 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.281, allocations: 50.06 kB / 0.7902 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.2811, allocations: 75.69 kB / 0.7903 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.2813, allocations: 71.61 kB / 0.7903 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.2813, allocations: 8 kB / 0.7903 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.2815, allocations: 47.86 kB / 0.7904 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.241e-05/0.2816, allocations: 47.81 kB / 0.7904 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.285e-05/0.2816, allocations: 53.64 kB / 0.7905 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.282, allocations: 215.8 kB / 0.7907 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.282, allocations: 7.938 kB / 0.7907 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.282, allocations: 0 / 0.7907 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.282, allocations: 0 / 0.7907 GB, free: 8.273 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.0009234/0.2829, allocations: 0.5099 MB / 0.7912 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.283, allocations: 8.031 kB / 0.7912 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.994e-05/0.2831, allocations: 42.56 kB / 0.7912 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.575e-05/0.2832, allocations: 23.67 kB / 0.7913 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.2837, allocations: 290.4 kB / 0.7915 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.2837, allocations: 8 kB / 0.7915 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.2837, allocations: 8 kB / 0.7916 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.284, allocations: 97.64 kB / 0.7916 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.284, allocations: 0 / 0.7916 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.284, allocations: 0 / 0.7916 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.284, allocations: 0 / 0.7916 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.2842, allocations: 59.83 kB / 0.7917 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008607/0.2851, allocations: 456.5 kB / 0.7921 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.2854, allocations: 78.61 kB / 0.7922 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.2854, allocations: 128 / 0.7922 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.2856, allocations: 83.38 kB / 0.7923 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.2856, allocations: 0 / 0.7923 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004066/0.2861, allocations: 129.4 kB / 0.7924 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.2861, allocations: 55.34 kB / 0.7925 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005116/0.2866, allocations: 370.9 kB / 0.7928 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.2867, allocations: 29.64 kB / 0.7929 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.2868, allocations: 144 kB / 0.793 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.2869, allocations: 15.81 kB / 0.793 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/0.2869, allocations: 4 kB / 0.793 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.287, allocations: 338.8 kB / 0.7933 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.2872, allocations: 59.88 kB / 0.7934 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.2873, allocations: 73.69 kB / 0.7935 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.2875, allocations: 58.84 kB / 0.7935 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2875, allocations: 4 kB / 0.7935 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003958/0.2879, allocations: 193.3 kB / 0.7937 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.2879, allocations: 4 kB / 0.7937 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.288, allocations: 0 / 0.7937 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.288, allocations: 4 kB / 0.7937 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.2882, allocations: 27.92 kB / 0.7937 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2882, allocations: 0 / 0.7937 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.2883, allocations: 23.92 kB / 0.7938 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.2884, allocations: 4 kB / 0.7938 GB, free: 4.895 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 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.2886, allocations: 168.2 kB / 0.7939 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.2886, allocations: 19.72 kB / 0.7939 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.958e-05/0.2887, allocations: 29.73 kB / 0.794 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2887, allocations: 0 / 0.794 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2887, allocations: 0 / 0.794 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2887, allocations: 0 / 0.794 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.289, allocations: 249.5 kB / 0.7942 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.289, allocations: 3.953 kB / 0.7942 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.884e-05/0.289, allocations: 4 kB / 0.7942 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.289, allocations: 0 / 0.7942 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.2891, allocations: 7.984 kB / 0.7942 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2891, allocations: 0 / 0.7942 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2891, allocations: 4 kB / 0.7942 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.2893, allocations: 137 kB / 0.7944 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.182e-05/0.2895, allocations: 104.9 kB / 0.7945 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.2895, allocations: 8 kB / 0.7945 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.2896, allocations: 15.98 kB / 0.7945 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.2897, allocations: 7.984 kB / 0.7945 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.2897, allocations: 4 kB / 0.7945 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003012/0.29, allocations: 233.9 kB / 0.7947 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.29, allocations: 0 / 0.7947 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003646/0.2904, allocations: 43.84 kB / 0.7948 GB, free: 3.785 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 (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.001742/0.2922, allocations: 0.9907 MB / 0.7957 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003179/0.2925, allocations: 99.89 kB / 0.7958 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2925, allocations: 4 kB / 0.7958 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.893e-05/0.2926, allocations: 20 kB / 0.7958 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.293, allocations: 56.84 kB / 0.7959 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.2942, allocations: 0.8097 MB / 0.7967 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.2945, allocations: 0.7557 MB / 0.7974 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001074/0.2947, allocations: 26.11 kB / 0.7975 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.2948, allocations: 67.41 kB / 0.7975 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2948, allocations: 4 kB / 0.7975 GB, free: 1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.069/1.364, allocations: 4.803 MB / 0.8022 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/1.365, allocations: 225.2 kB / 0.8024 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/2.896, allocations: 4.062 kB / 0.8024 GB, free: 12.11 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/linux/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) Environment - environmentSimulation: