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.001106/0.001106, allocations: 98.94 kB / 16.29 MB, free: 6.004 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.001107/0.001107, allocations: 182.6 kB / 17.22 MB, free: 5.629 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.633/1.633, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.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.881/1.881, allocations: 292.3 MB / 0.5495 GB, free: 17.49 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.001445/0.001445, allocations: 75.91 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2851, allocations: 114.5 MB / 0.7841 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.003647/0.2888, allocations: 1.948 MB / 0.786 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001788/0.2906, allocations: 1.031 MB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.2907, allocations: 7.875 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004327/0.2912, allocations: 111.5 kB / 0.7871 GB, free: 0.7617 MB / 0.6544 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.0002765/0.2915, allocations: 103.6 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.2918, allocations: 127.7 kB / 0.7873 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.2921, allocations: 207.5 kB / 0.7875 GB, free: 340 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.2923, allocations: 61.88 kB / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.2924, allocations: 91.56 kB / 0.7877 GB, free: 184 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.2926, allocations: 91.61 kB / 0.7878 GB, free: 92 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.2926, allocations: 16 kB / 0.7878 GB, free: 76 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.2928, allocations: 67.95 kB / 0.7878 GB, free: 8 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.479/0.7718, allocations: 56.16 kB / 0.7879 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.772, allocations: 86.2 kB / 0.788 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005251/0.7725, allocations: 286.1 kB / 0.7883 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7726, allocations: 0 / 0.7883 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7726, allocations: 0 / 0.7883 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.7726, allocations: 0 / 0.7883 GB, free: 46.17 MB / 0.6544 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.00084/0.7734, allocations: 0.5304 MB / 0.7888 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.7735, allocations: 8.094 kB / 0.7888 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.898e-05/0.7735, allocations: 27.62 kB / 0.7888 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.7739, allocations: 307.3 kB / 0.7891 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.7739, allocations: 6.031 kB / 0.7891 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.774, allocations: 13.09 kB / 0.7891 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.7742, allocations: 96.48 kB / 0.7892 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.7742, allocations: 1.172 kB / 0.7892 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.7742, allocations: 2.188 kB / 0.7892 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.7742, allocations: 2.688 kB / 0.7892 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.7744, allocations: 52.06 kB / 0.7893 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006453/0.775, allocations: 450.5 kB / 0.7897 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.7752, allocations: 77.78 kB / 0.7898 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.832e-05/0.7753, allocations: 29.5 kB / 0.7898 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.7753, allocations: 4.641 kB / 0.7898 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.7755, allocations: 76.05 kB / 0.7899 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.555e-06/0.7755, allocations: 5.922 kB / 0.7899 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003239/0.7758, allocations: 138.9 kB / 0.79 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.7759, allocations: 51.41 kB / 0.7901 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.7762, allocations: 364.3 kB / 0.7904 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.7762, allocations: 32.23 kB / 0.7904 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.7763, allocations: 141.4 kB / 0.7906 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.7763, allocations: 20.73 kB / 0.7906 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.7764, allocations: 48.33 kB / 0.7906 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.34e-05/0.7765, allocations: 333.5 kB / 0.791 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.7766, allocations: 57.86 kB / 0.791 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.7767, allocations: 77.66 kB / 0.7911 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.7769, allocations: 93.11 kB / 0.7912 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7769, allocations: 0 / 0.7912 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000276/0.7772, allocations: 194.8 kB / 0.7914 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7772, allocations: 11.81 kB / 0.7914 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.7772, allocations: 5.25 kB / 0.7914 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.7772, allocations: 2.125 kB / 0.7914 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.7773, allocations: 24.05 kB / 0.7914 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.7773, allocations: 6.906 kB / 0.7914 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.152e-05/0.7774, allocations: 15.72 kB / 0.7914 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.7775, allocations: 5.344 kB / 0.7914 GB, free: 44.34 MB / 0.6544 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.0001044/0.7776, allocations: 152 kB / 0.7916 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.7776, allocations: 25.72 kB / 0.7916 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/0.7777, allocations: 24.94 kB / 0.7916 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.7777, allocations: 0 / 0.7916 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.7777, allocations: 4 kB / 0.7916 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.7777, allocations: 0 / 0.7916 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.7778, allocations: 254 kB / 0.7919 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7779, allocations: 0 / 0.7919 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.16e-05/0.7779, allocations: 2.625 kB / 0.7919 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.7779, allocations: 3.938 kB / 0.7919 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.7779, allocations: 9.625 kB / 0.7919 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.7779, allocations: 0.625 kB / 0.7919 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7779, allocations: 1.969 kB / 0.7919 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.7781, allocations: 140.4 kB / 0.792 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.7782, allocations: 98.67 kB / 0.7921 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.7782, allocations: 3.938 kB / 0.7921 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.7783, allocations: 13.41 kB / 0.7921 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.7784, allocations: 12.03 kB / 0.7921 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.7784, allocations: 3.906 kB / 0.7921 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001882/0.7786, allocations: 233.6 kB / 0.7924 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7786, allocations: 0 / 0.7924 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002465/0.7788, allocations: 44.86 kB / 0.7924 GB, free: 43.73 MB / 0.6544 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.00101/0.7798, allocations: 412.4 kB / 0.7928 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.7801, allocations: 109.8 kB / 0.7929 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7801, allocations: 0 / 0.7929 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.416e-05/0.7802, allocations: 31.02 kB / 0.7929 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.7805, allocations: 57 kB / 0.793 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004778/0.781, allocations: 372.4 kB / 0.7933 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.7812, allocations: 0.7525 MB / 0.7941 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.902e-05/0.7812, allocations: 29.95 kB / 0.7941 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.7813, allocations: 29.28 kB / 0.7941 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7813, allocations: 0 / 0.7941 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of Templates: time 0.00597/0.7873, allocations: 2.806 MB / 0.7969 GB, free: 42.59 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)