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.001771/0.001772, allocations: 109.4 kB / 15.69 MB, free: 128 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.001819/0.001819, allocations: 187.3 kB / 16.62 MB, free: 6.582 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.582/1.582, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.759/1.759, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.002134/0.002134, allocations: 71.31 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2944, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.004958/0.2994, allocations: 1.964 MB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002531/0.302, allocations: 1.027 MB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002466/0.3022, allocations: 3.938 kB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005581/0.3028, allocations: 99.56 kB / 0.7867 GB, free: 10.12 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.0003969/0.3033, allocations: 99.58 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005488/0.3038, allocations: 126.8 kB / 0.7869 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003782/0.3042, allocations: 215.4 kB / 0.7871 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002875/0.3045, allocations: 61.89 kB / 0.7871 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.3048, allocations: 91.56 kB / 0.7872 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.305, allocations: 99.59 kB / 0.7873 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.305, allocations: 12 kB / 0.7873 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.3053, allocations: 67.91 kB / 0.7874 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.3054, allocations: 59.81 kB / 0.7875 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.3055, allocations: 87.42 kB / 0.7875 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005006/0.3061, allocations: 287.2 kB / 0.7878 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3061, allocations: 0 / 0.7878 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3061, allocations: 0 / 0.7878 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.3061, allocations: 0 / 0.7878 GB, free: 8.941 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.001163/0.3073, allocations: 0.5397 MB / 0.7883 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.3073, allocations: 8.031 kB / 0.7884 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.867e-05/0.3074, allocations: 42.73 kB / 0.7884 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.559e-05/0.3075, allocations: 24.66 kB / 0.7884 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006608/0.3082, allocations: 307.7 kB / 0.7887 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.3082, allocations: 20.11 kB / 0.7887 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.3083, allocations: 4 kB / 0.7887 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.3086, allocations: 93.64 kB / 0.7888 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3086, allocations: 0 / 0.7888 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.3086, allocations: 4 kB / 0.7888 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3086, allocations: 0 / 0.7888 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.3088, allocations: 51.97 kB / 0.7889 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009648/0.3098, allocations: 452.4 kB / 0.7893 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.3101, allocations: 78.55 kB / 0.7894 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.3103, allocations: 32.84 kB / 0.7894 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.3103, allocations: 4 kB / 0.7894 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.3105, allocations: 83.31 kB / 0.7895 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.3106, allocations: 0 / 0.7895 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004694/0.311, allocations: 133.3 kB / 0.7896 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.3111, allocations: 51.41 kB / 0.7897 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000565/0.3117, allocations: 370.9 kB / 0.79 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.3117, allocations: 29.7 kB / 0.7901 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.3119, allocations: 140 kB / 0.7902 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.3119, allocations: 19.8 kB / 0.7902 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.312, allocations: 49.61 kB / 0.7903 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3122, allocations: 338.8 kB / 0.7906 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.3124, allocations: 51.98 kB / 0.7906 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.3126, allocations: 80.28 kB / 0.7907 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.3129, allocations: 89.69 kB / 0.7908 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3129, allocations: 0 / 0.7908 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005167/0.3134, allocations: 201.2 kB / 0.791 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.3135, allocations: 4 kB / 0.791 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3135, allocations: 0 / 0.791 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.3135, allocations: 0 / 0.791 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.3137, allocations: 27.92 kB / 0.791 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3137, allocations: 0 / 0.791 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.3139, allocations: 15.92 kB / 0.791 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.314, allocations: 8 kB / 0.791 GB, free: 5.398 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.0002228/0.3142, allocations: 150.5 kB / 0.7912 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.457e-05/0.3143, allocations: 27.66 kB / 0.7912 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.008e-05/0.3144, allocations: 25.73 kB / 0.7912 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3144, allocations: 0 / 0.7912 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.3144, allocations: 0 / 0.7912 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.3144, allocations: 0 / 0.7912 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.3147, allocations: 253.5 kB / 0.7915 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.3148, allocations: 3.938 kB / 0.7915 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.474e-05/0.3148, allocations: 11.92 kB / 0.7915 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.3148, allocations: 0 / 0.7915 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.3148, allocations: 4 kB / 0.7915 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3149, allocations: 4 kB / 0.7915 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3149, allocations: 0 / 0.7915 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.3152, allocations: 128.8 kB / 0.7916 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.3153, allocations: 100.8 kB / 0.7917 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/0.3154, allocations: 8 kB / 0.7917 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.3155, allocations: 7.984 kB / 0.7917 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.3156, allocations: 19.91 kB / 0.7917 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.3156, allocations: 8 kB / 0.7918 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003686/0.316, allocations: 233.9 kB / 0.792 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/0.316, allocations: 3.938 kB / 0.792 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004259/0.3164, allocations: 47.83 kB / 0.792 GB, free: 4.289 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.002109/0.3186, allocations: 0.9781 MB / 0.793 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003473/0.3189, allocations: 107.8 kB / 0.7931 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.319, allocations: 4 kB / 0.7931 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.3191, allocations: 31.98 kB / 0.7931 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.3195, allocations: 48.78 kB / 0.7932 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.3235, allocations: 2.361 MB / 0.7955 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/0.324, allocations: 0.7476 MB / 0.7962 GB, free: 24 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001464/0.3242, allocations: 30 kB / 0.7962 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.3243, allocations: 71.3 kB / 0.7963 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of SimCode: time 1.272e-06/0.3243, allocations: 0 / 0.7963 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.3453, allocations: 5.143 MB / 0.8013 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/7.986, allocations: 4.062 kB / 0.8013 GB, free: 10.9 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)