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.00147/0.00147, allocations: 108 kB / 15.61 MB, free: 152 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.001932/0.001932, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.653/1.653, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.769/1.769, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001453/0.001453, allocations: 78.08 kB / 0.6715 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2861, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.003777/0.2899, allocations: 1.942 MB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001913/0.2918, allocations: 1.027 MB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.292, allocations: 7.938 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004751/0.2925, allocations: 107.5 kB / 0.7864 GB, free: 10.37 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.0002859/0.2928, allocations: 95.58 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.2932, allocations: 126.5 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.2935, allocations: 215.4 kB / 0.7868 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.2937, allocations: 69.88 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.2938, allocations: 83.64 kB / 0.787 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.294, allocations: 95.59 kB / 0.787 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.294, allocations: 12 kB / 0.7871 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.2942, allocations: 71.91 kB / 0.7871 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.426e-05/0.2943, allocations: 55.83 kB / 0.7872 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.2944, allocations: 95.38 kB / 0.7873 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.2947, allocations: 271.4 kB / 0.7875 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2947, allocations: 4 kB / 0.7875 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.026e-06/0.2947, allocations: 4 kB / 0.7875 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.2948, allocations: 0 / 0.7875 GB, free: 9.195 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.0009588/0.2957, allocations: 0.5294 MB / 0.7881 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.2958, allocations: 12.03 kB / 0.7881 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.592e-05/0.2959, allocations: 32.56 kB / 0.7881 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.2963, allocations: 295.8 kB / 0.7884 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.2963, allocations: 8.375 kB / 0.7884 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.2963, allocations: 15.92 kB / 0.7884 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.2965, allocations: 93.59 kB / 0.7885 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2965, allocations: 0 / 0.7885 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.2966, allocations: 4 kB / 0.7885 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2966, allocations: 7.938 kB / 0.7885 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.2967, allocations: 47.97 kB / 0.7885 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007008/0.2974, allocations: 452.3 kB / 0.789 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.2976, allocations: 78.66 kB / 0.7891 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.911e-05/0.2977, allocations: 24.86 kB / 0.7891 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.2978, allocations: 7.984 kB / 0.7891 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.2979, allocations: 83.33 kB / 0.7892 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.2979, allocations: 0 / 0.7892 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003295/0.2983, allocations: 133.4 kB / 0.7893 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.2983, allocations: 51.41 kB / 0.7893 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/0.2987, allocations: 374.8 kB / 0.7897 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.2987, allocations: 29.7 kB / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.2988, allocations: 144 kB / 0.7899 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.2989, allocations: 15.81 kB / 0.7899 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-05/0.2989, allocations: 41.7 kB / 0.7899 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2991, allocations: 334.8 kB / 0.7902 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.2992, allocations: 63.81 kB / 0.7903 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.2993, allocations: 76.66 kB / 0.7904 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.2995, allocations: 100.7 kB / 0.7905 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2995, allocations: 0 / 0.7905 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002985/0.2998, allocations: 189.2 kB / 0.7906 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2998, allocations: 11.98 kB / 0.7907 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2998, allocations: 0 / 0.7907 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2999, allocations: 0 / 0.7907 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.3, allocations: 24 kB / 0.7907 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.974e-06/0.3, allocations: 3.984 kB / 0.7907 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.882e-05/0.3001, allocations: 15.97 kB / 0.7907 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.3001, allocations: 11.94 kB / 0.7907 GB, free: 5.703 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.0001399/0.3003, allocations: 156.8 kB / 0.7909 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.3003, allocations: 23.66 kB / 0.7909 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.987e-05/0.3004, allocations: 25.73 kB / 0.7909 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.3004, allocations: 4 kB / 0.7909 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3004, allocations: 0 / 0.7909 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3004, allocations: 0 / 0.7909 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.3006, allocations: 245.5 kB / 0.7911 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3006, allocations: 8 kB / 0.7912 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.215e-05/0.3007, allocations: 3.938 kB / 0.7912 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3007, allocations: 4 kB / 0.7912 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3007, allocations: 4 kB / 0.7912 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3007, allocations: 0 / 0.7912 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3007, allocations: 0 / 0.7912 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.3009, allocations: 144.8 kB / 0.7913 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.267e-05/0.301, allocations: 104.7 kB / 0.7914 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.3011, allocations: 8 kB / 0.7914 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.3011, allocations: 11.98 kB / 0.7914 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.3012, allocations: 7.984 kB / 0.7914 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.3012, allocations: 4 kB / 0.7914 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002164/0.3014, allocations: 233.9 kB / 0.7917 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3014, allocations: 0 / 0.7917 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002556/0.3017, allocations: 47.84 kB / 0.7917 GB, free: 4.598 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.0009911/0.3027, allocations: 422.4 kB / 0.7921 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.3029, allocations: 107.9 kB / 0.7922 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.303, allocations: 0 / 0.7922 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.373e-05/0.3031, allocations: 31.92 kB / 0.7922 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.3034, allocations: 55.69 kB / 0.7923 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006218/0.304, allocations: 387.4 kB / 0.7927 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.3043, allocations: 0.7437 MB / 0.7934 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.011e-05/0.3044, allocations: 34.08 kB / 0.7934 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.3045, allocations: 23.44 kB / 0.7934 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.3045, allocations: 0 / 0.7934 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of Templates: time 0.006145/0.3106, allocations: 2.811 MB / 0.7962 GB, free: 120 kB / 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)