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.001097/0.001097, allocations: 102.1 kB / 16.27 MB, free: 6.348 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.001054/0.001054, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.618/1.618, 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.782/1.782, allocations: 292.3 MB / 0.5495 GB, free: 17.46 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.001416/0.001416, allocations: 71.03 kB / 0.6722 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2585, allocations: 114.5 MB / 0.784 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.004119/0.2627, allocations: 1.951 MB / 0.7859 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002037/0.2648, allocations: 1.027 MB / 0.787 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.265, allocations: 11.88 kB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004532/0.2655, allocations: 111.5 kB / 0.7871 GB, free: 0.7695 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.0003758/0.2659, allocations: 91.56 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.2664, allocations: 131 kB / 0.7873 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.2667, allocations: 215.5 kB / 0.7875 GB, free: 352 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.267, allocations: 65.81 kB / 0.7875 GB, free: 284 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.2671, allocations: 87.62 kB / 0.7876 GB, free: 196 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.2673, allocations: 99.59 kB / 0.7877 GB, free: 96 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.2674, allocations: 12 kB / 0.7877 GB, free: 84 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.2676, allocations: 63.91 kB / 0.7878 GB, free: 20 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.4435/0.711, allocations: 55.25 kB / 0.7879 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.7112, allocations: 88 kB / 0.7879 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004496/0.7117, allocations: 284.2 kB / 0.7882 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.7117, allocations: 0 / 0.7882 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7117, allocations: 0 / 0.7882 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.7117, allocations: 0.625 kB / 0.7882 GB, free: 46.13 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.0007903/0.7125, allocations: 0.5319 MB / 0.7887 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.7126, allocations: 8.75 kB / 0.7887 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/0.7126, allocations: 24.88 kB / 0.7888 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.713, allocations: 310.1 kB / 0.7891 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.713, allocations: 5.875 kB / 0.7891 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.713, allocations: 10.44 kB / 0.7891 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.7132, allocations: 94.45 kB / 0.7892 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7132, allocations: 0 / 0.7892 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.7132, allocations: 1 kB / 0.7892 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.7132, allocations: 2.531 kB / 0.7892 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.7134, allocations: 53.7 kB / 0.7892 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.714, allocations: 452.8 kB / 0.7896 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.7142, allocations: 79.02 kB / 0.7897 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.91e-05/0.7143, allocations: 30.03 kB / 0.7898 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.7143, allocations: 2.875 kB / 0.7898 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.7145, allocations: 76.59 kB / 0.7898 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.7145, allocations: 0 / 0.7898 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003093/0.7148, allocations: 135.5 kB / 0.79 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.7148, allocations: 53.5 kB / 0.79 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.7151, allocations: 366.2 kB / 0.7904 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.7152, allocations: 31.83 kB / 0.7904 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.7152, allocations: 140.3 kB / 0.7905 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.7153, allocations: 20.45 kB / 0.7905 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/0.7153, allocations: 48.67 kB / 0.7906 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.484e-05/0.7154, allocations: 333.8 kB / 0.7909 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-05/0.7155, allocations: 60.88 kB / 0.791 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.7156, allocations: 74.41 kB / 0.791 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.7158, allocations: 95.16 kB / 0.7911 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7158, allocations: 0.5 kB / 0.7911 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000256/0.716, allocations: 199.3 kB / 0.7913 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.7161, allocations: 9.188 kB / 0.7913 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.7161, allocations: 0 / 0.7913 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.7161, allocations: 3.969 kB / 0.7913 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.7162, allocations: 19.25 kB / 0.7913 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.7162, allocations: 7.703 kB / 0.7914 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.941e-05/0.7163, allocations: 18.91 kB / 0.7914 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.7164, allocations: 5.531 kB / 0.7914 GB, free: 44.3 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 9.978e-05/0.7165, allocations: 157.4 kB / 0.7915 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.7165, allocations: 23.47 kB / 0.7915 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.846e-05/0.7166, allocations: 24.88 kB / 0.7916 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.7166, allocations: 2.625 kB / 0.7916 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7166, allocations: 0.625 kB / 0.7916 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.7166, allocations: 0 / 0.7916 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.7167, allocations: 250.8 kB / 0.7918 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7167, allocations: 0 / 0.7918 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.7168, allocations: 8.406 kB / 0.7918 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.7168, allocations: 3.938 kB / 0.7918 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.7168, allocations: 3.719 kB / 0.7918 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.7168, allocations: 0 / 0.7918 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7168, allocations: 0 / 0.7918 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.717, allocations: 136.7 kB / 0.792 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.7171, allocations: 102 kB / 0.7921 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.7171, allocations: 3.938 kB / 0.7921 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/0.7172, allocations: 13.61 kB / 0.7921 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.7173, allocations: 9.75 kB / 0.7921 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.7173, allocations: 2.625 kB / 0.7921 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001821/0.7175, allocations: 238 kB / 0.7923 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7175, allocations: 2.969 kB / 0.7923 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000244/0.7177, allocations: 38.58 kB / 0.7924 GB, free: 43.7 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.0009713/0.7187, allocations: 421.9 kB / 0.7928 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.719, allocations: 106.3 kB / 0.7929 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.719, allocations: 0 / 0.7929 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.811e-05/0.7191, allocations: 35.59 kB / 0.7929 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.7194, allocations: 56.84 kB / 0.7929 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005389/0.7199, allocations: 406.8 kB / 0.7933 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.7201, allocations: 0.7499 MB / 0.7941 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.7202, allocations: 25 kB / 0.7941 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of SimCode: time 3.51e-07/0.7202, allocations: 0 / 0.7941 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of Templates: time 0.004797/0.725, allocations: 3.081 MB / 0.7971 GB, free: 42.46 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)