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.0017/0.0017, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002039/0.002039, allocations: 193 kB / 16.13 MB, free: 6.707 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.534/1.534, allocations: 205.1 MB / 222 MB, free: 4.766 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.741/1.741, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001604/0.001604, allocations: 67.36 kB / 0.6708 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2846, allocations: 114.6 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.004172/0.2888, allocations: 1.999 MB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001822/0.2907, allocations: 1.015 MB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.2908, allocations: 3.938 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004427/0.2913, allocations: 99.67 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.2915, allocations: 83.73 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.2918, allocations: 111.8 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003141/0.2922, allocations: 203.4 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.2923, allocations: 61.89 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.2925, allocations: 83.56 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.2926, allocations: 95.53 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.2926, allocations: 8 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.2928, allocations: 55.97 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.232e-05/0.2929, allocations: 51.81 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.293, allocations: 83.36 kB / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.2933, allocations: 279.4 kB / 0.7868 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.2933, allocations: 0 / 0.7868 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.011e-06/0.2933, allocations: 0 / 0.7868 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2933, allocations: 0 / 0.7868 GB, free: 9.734 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.0008046/0.2941, allocations: 0.5334 MB / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2942, allocations: 8.031 kB / 0.7873 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.713e-05/0.2942, allocations: 28.56 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.2946, allocations: 303.7 kB / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.2946, allocations: 8.375 kB / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.2947, allocations: 15.94 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.2949, allocations: 89.64 kB / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2949, allocations: 0 / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.2949, allocations: 8 kB / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.2949, allocations: 0 / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.2951, allocations: 39.98 kB / 0.7878 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007228/0.2958, allocations: 448.3 kB / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.2961, allocations: 90.58 kB / 0.7883 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.45e-05/0.2961, allocations: 28.84 kB / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/0.2962, allocations: 4 kB / 0.7884 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002236/0.2964, allocations: 91.36 kB / 0.7884 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.2964, allocations: 0 / 0.7884 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003465/0.2968, allocations: 133.4 kB / 0.7886 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.2969, allocations: 51.41 kB / 0.7886 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004587/0.2974, allocations: 374.8 kB / 0.789 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.2974, allocations: 25.7 kB / 0.789 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.2976, allocations: 144 kB / 0.7891 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.2976, allocations: 15.81 kB / 0.7892 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.78e-05/0.2977, allocations: 45.69 kB / 0.7892 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002287/0.2979, allocations: 334.8 kB / 0.7895 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.298, allocations: 55.89 kB / 0.7896 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.2982, allocations: 80.66 kB / 0.7896 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.2984, allocations: 104.5 kB / 0.7897 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2984, allocations: 0 / 0.7897 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003146/0.2987, allocations: 185.3 kB / 0.7899 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2988, allocations: 11.94 kB / 0.7899 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2988, allocations: 0 / 0.7899 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.2988, allocations: 0 / 0.7899 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.2989, allocations: 27.92 kB / 0.79 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2989, allocations: 0 / 0.79 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.299, allocations: 23.95 kB / 0.79 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.2991, allocations: 4 kB / 0.79 GB, free: 6.246 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.0001351/0.2992, allocations: 157.7 kB / 0.7901 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.2993, allocations: 23.66 kB / 0.7902 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.136e-05/0.2993, allocations: 29.73 kB / 0.7902 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.2993, allocations: 0 / 0.7902 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2993, allocations: 0 / 0.7902 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2993, allocations: 0 / 0.7902 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.2996, allocations: 249.5 kB / 0.7904 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2996, allocations: 4 kB / 0.7904 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.2996, allocations: 11.94 kB / 0.7904 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2996, allocations: 0 / 0.7904 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.2996, allocations: 3.984 kB / 0.7904 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2996, allocations: 0 / 0.7904 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2996, allocations: 4 kB / 0.7904 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.2999, allocations: 120.9 kB / 0.7906 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.2999, allocations: 108.8 kB / 0.7907 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.3, allocations: 11.94 kB / 0.7907 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.3001, allocations: 7.984 kB / 0.7907 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.3001, allocations: 11.98 kB / 0.7907 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.3001, allocations: 4 kB / 0.7907 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000231/0.3004, allocations: 229.9 kB / 0.7909 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3004, allocations: 0 / 0.7909 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002519/0.3006, allocations: 47.83 kB / 0.791 GB, free: 5.148 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.001052/0.3017, allocations: 425.5 kB / 0.7914 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.3019, allocations: 103.9 kB / 0.7915 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3019, allocations: 0 / 0.7915 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.893e-05/0.302, allocations: 27.98 kB / 0.7915 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.3025, allocations: 55.62 kB / 0.7916 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007938/0.3033, allocations: 425.2 kB / 0.792 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/0.3038, allocations: 0.7517 MB / 0.7927 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.76e-05/0.3039, allocations: 30.09 kB / 0.7927 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/0.304, allocations: 23.42 kB / 0.7927 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.304, allocations: 0 / 0.7927 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of Templates: time 0.005689/0.3097, allocations: 2.642 MB / 0.7953 GB, free: 0.8086 MB / 0.6075 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)