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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 105.4 kB / 15.7 MB, free: 24 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.002091/0.002091, allocations: 199.1 kB / 16.64 MB, free: 6.453 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.521/1.521, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.884/1.884, allocations: 292.3 MB / 0.549 GB, free: 12.8 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.001685/0.001686, allocations: 70.25 kB / 0.6723 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2886, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.004807/0.2934, allocations: 1.941 MB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.2956, allocations: 1.035 MB / 0.7871 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.2958, allocations: 11.88 kB / 0.7871 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.2964, allocations: 111.5 kB / 0.7872 GB, free: 9.629 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.0003679/0.2967, allocations: 91.59 kB / 0.7873 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.2972, allocations: 126.8 kB / 0.7874 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003268/0.2976, allocations: 215.5 kB / 0.7876 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.2978, allocations: 61.89 kB / 0.7876 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.2979, allocations: 91.56 kB / 0.7877 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.2981, allocations: 99.59 kB / 0.7878 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.2982, allocations: 12 kB / 0.7878 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.2984, allocations: 63.95 kB / 0.7879 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.189e-05/0.2985, allocations: 59.77 kB / 0.788 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.578e-05/0.2986, allocations: 87.41 kB / 0.788 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003996/0.299, allocations: 287.1 kB / 0.7883 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.299, allocations: 0 / 0.7883 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.299, allocations: 0 / 0.7883 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.299, allocations: 0 / 0.7883 GB, free: 8.461 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.0009174/0.2999, allocations: 0.5371 MB / 0.7888 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3, allocations: 8.031 kB / 0.7888 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.495e-05/0.3001, allocations: 28.56 kB / 0.7889 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.3005, allocations: 303.8 kB / 0.7892 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.3005, allocations: 8.375 kB / 0.7892 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.3005, allocations: 7.938 kB / 0.7892 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.3007, allocations: 101.6 kB / 0.7893 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3008, allocations: 0 / 0.7893 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3008, allocations: 0 / 0.7893 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.3008, allocations: 4 kB / 0.7893 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.3009, allocations: 47.97 kB / 0.7893 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007016/0.3016, allocations: 452.3 kB / 0.7898 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.3019, allocations: 74.61 kB / 0.7898 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.829e-05/0.3019, allocations: 28.84 kB / 0.7899 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.302, allocations: 8 kB / 0.7899 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.3022, allocations: 87.31 kB / 0.7899 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.916e-06/0.3022, allocations: 3.984 kB / 0.7899 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003396/0.3025, allocations: 121.5 kB / 0.7901 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.3026, allocations: 59.39 kB / 0.7901 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.303, allocations: 370.8 kB / 0.7905 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.303, allocations: 29.7 kB / 0.7905 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.699e-05/0.3031, allocations: 144 kB / 0.7906 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.3032, allocations: 19.8 kB / 0.7907 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.988e-05/0.3032, allocations: 37.7 kB / 0.7907 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3034, allocations: 342.8 kB / 0.791 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.3035, allocations: 63.81 kB / 0.7911 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.3036, allocations: 76.19 kB / 0.7912 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.3038, allocations: 97.64 kB / 0.7913 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3038, allocations: 0 / 0.7913 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003205/0.3041, allocations: 195.5 kB / 0.7914 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3042, allocations: 4 kB / 0.7914 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3042, allocations: 0 / 0.7914 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3042, allocations: 4 kB / 0.7914 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.3043, allocations: 19.98 kB / 0.7915 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.3043, allocations: 0 / 0.7915 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.3045, allocations: 27.89 kB / 0.7915 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.3045, allocations: 4 kB / 0.7915 GB, free: 4.965 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.0001459/0.3046, allocations: 156.2 kB / 0.7916 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.3047, allocations: 27.66 kB / 0.7917 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.331e-05/0.3047, allocations: 21.75 kB / 0.7917 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3048, allocations: 3.984 kB / 0.7917 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3048, allocations: 4 kB / 0.7917 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3048, allocations: 0 / 0.7917 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.305, allocations: 245.5 kB / 0.7919 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.305, allocations: 4 kB / 0.7919 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/0.305, allocations: 7.938 kB / 0.7919 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3051, allocations: 0 / 0.7919 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.3051, allocations: 4 kB / 0.7919 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3051, allocations: 3.938 kB / 0.792 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3051, allocations: 3.938 kB / 0.792 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.3053, allocations: 128.9 kB / 0.7921 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-05/0.3054, allocations: 108.8 kB / 0.7922 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.3055, allocations: 8 kB / 0.7922 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.679e-05/0.3055, allocations: 7.984 kB / 0.7922 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.3056, allocations: 15.98 kB / 0.7922 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.3056, allocations: 0 / 0.7922 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002459/0.3059, allocations: 233.9 kB / 0.7924 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3059, allocations: 0 / 0.7924 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000265/0.3061, allocations: 43.84 kB / 0.7925 GB, free: 3.867 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.0009783/0.3071, allocations: 412.6 kB / 0.7929 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002744/0.3074, allocations: 111.9 kB / 0.793 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3074, allocations: 0 / 0.793 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.3075, allocations: 31.92 kB / 0.793 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.3079, allocations: 50.75 kB / 0.7931 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007712/0.3087, allocations: 387.5 kB / 0.7934 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.3091, allocations: 0.7515 MB / 0.7942 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.3092, allocations: 37.91 kB / 0.7942 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.65e-05/0.3093, allocations: 23.44 kB / 0.7942 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.3093, allocations: 0 / 0.7942 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of Templates: time 0.006979/0.3163, allocations: 2.806 MB / 0.797 GB, free: 15.38 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)