Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Validation.Less,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.605/2.605, allocations: 287.3 MB / 302.3 MB, free: 8.293 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.001587/0.001586, allocations: 182.9 kB / 370.8 MB, free: 10.86 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.133/2.133, allocations: 205.4 MB / 0.6295 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 93.7 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007947/0.000795, allocations: 14.8 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2947, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.003835/0.2986, allocations: 1.606 MB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003322/0.302, allocations: 0.9456 MB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.3023, allocations: 4 kB / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005218/0.3028, allocations: 95.67 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004721/0.3033, allocations: 83.75 kB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007825/0.3041, allocations: 105.9 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005084/0.3046, allocations: 135.7 kB / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002584/0.3049, allocations: 38.09 kB / 0.9812 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000275/0.3052, allocations: 79.62 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.3054, allocations: 71.67 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.3055, allocations: 4 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002715/0.3058, allocations: 43.91 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.3059, allocations: 47.83 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.809e-05/0.306, allocations: 57.56 kB / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004798/0.3065, allocations: 219.8 kB / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3065, allocations: 0 / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.015e-06/0.3066, allocations: 0 / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.3066, allocations: 0 / 0.9817 GB, free: 24.72 MB / 0.6198 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.001275/0.3079, allocations: 0.5099 MB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.308, allocations: 12.02 kB / 0.9822 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.218e-05/0.308, allocations: 38.56 kB / 0.9823 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.488e-05/0.3082, allocations: 31.67 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007287/0.3089, allocations: 290.4 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.309, allocations: 4 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.309, allocations: 12 kB / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.3094, allocations: 89.64 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.3095, allocations: 0 / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.3095, allocations: 0 / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.3095, allocations: 11.89 kB / 0.9827 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.3098, allocations: 51.88 kB / 0.9828 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.3112, allocations: 456.5 kB / 0.9832 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005202/0.3117, allocations: 90.59 kB / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.3118, allocations: 4 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002942/0.3121, allocations: 71.5 kB / 0.9833 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 4.007e-06/0.3121, allocations: 0 / 0.9833 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005938/0.3127, allocations: 137.5 kB / 0.9835 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.3128, allocations: 55.41 kB / 0.9835 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004959/0.3133, allocations: 370.9 kB / 0.9839 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.3133, allocations: 29.7 kB / 0.9839 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.669e-05/0.3134, allocations: 140 kB / 0.984 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.3135, allocations: 15.81 kB / 0.9841 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.447e-05/0.3135, allocations: 7.938 kB / 0.9841 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.134e-05/0.3136, allocations: 334.8 kB / 0.9844 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.3138, allocations: 59.88 kB / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.3139, allocations: 79.88 kB / 0.9845 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.3141, allocations: 59.92 kB / 0.9846 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3141, allocations: 0 / 0.9846 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004537/0.3146, allocations: 189.3 kB / 0.9848 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3146, allocations: 4 kB / 0.9848 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3147, allocations: 4 kB / 0.9848 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3147, allocations: 0 / 0.9848 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.3149, allocations: 31.95 kB / 0.9848 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.3149, allocations: 4.062 kB / 0.9848 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.3151, allocations: 15.92 kB / 0.9848 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.3152, allocations: 12 kB / 0.9848 GB, free: 21.33 MB / 0.6198 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.0001722/0.3153, allocations: 149.8 kB / 0.985 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.3154, allocations: 23.72 kB / 0.985 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.892e-05/0.3155, allocations: 25.73 kB / 0.985 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3155, allocations: 4 kB / 0.985 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3155, allocations: 0 / 0.985 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3155, allocations: 4 kB / 0.985 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.3157, allocations: 249.4 kB / 0.9853 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3158, allocations: 0 / 0.9853 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.3158, allocations: 7.938 kB / 0.9853 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.3158, allocations: 3.984 kB / 0.9853 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.3159, allocations: 4 kB / 0.9853 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.3159, allocations: 0 / 0.9853 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3159, allocations: 0 / 0.9853 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.3162, allocations: 136.8 kB / 0.9854 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.662e-05/0.3163, allocations: 104.9 kB / 0.9855 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.3163, allocations: 7.938 kB / 0.9855 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.3165, allocations: 11.98 kB / 0.9855 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.3166, allocations: 7.984 kB / 0.9855 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.3166, allocations: 4 kB / 0.9855 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003073/0.3169, allocations: 237.9 kB / 0.9858 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.317, allocations: 0 / 0.9858 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003631/0.3173, allocations: 43.84 kB / 0.9858 GB, free: 20.23 MB / 0.6198 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.00162/0.319, allocations: 0.9858 MB / 0.9868 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003964/0.3194, allocations: 110.7 kB / 0.9869 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3194, allocations: 0 / 0.9869 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.3196, allocations: 27.98 kB / 0.9869 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.32, allocations: 46.16 kB / 0.9869 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.3213, allocations: 0.8249 MB / 0.9878 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.3215, allocations: 0.7557 MB / 0.9885 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001582/0.3217, allocations: 26.09 kB / 0.9885 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.3219, allocations: 67.41 kB / 0.9886 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of SimCode: time 1.123e-06/0.3219, allocations: 0 / 0.9886 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03447/0.3564, allocations: 4.804 MB / 0.9933 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/0.3567, allocations: 232.2 kB / 0.9935 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.7/3.057, allocations: 3.938 kB / 0.9935 GB, free: 12.54 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)