Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001248/0.001248, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.577/1.577, allocations: 205.1 MB / 222.1 MB, free: 4.746 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.764/1.764, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.001404/0.001404, allocations: 70.23 kB / 0.671 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.297, allocations: 114.5 MB / 0.7829 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.003321/0.3004, allocations: 0.7748 MB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.3016, allocations: 0.801 MB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.477e-05/0.3017, allocations: 0 / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.272e-05/0.3017, allocations: 3.938 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.783e-05/0.3019, allocations: 7.938 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001251/0.302, allocations: 15.98 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.564e-05/0.3021, allocations: 35.92 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.3022, allocations: 23.97 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.367e-05/0.3023, allocations: 15.88 kB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.3024, allocations: 23.91 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.3024, allocations: 4 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.584e-05/0.3024, allocations: 4 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.3025, allocations: 8 kB / 0.7845 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.3025, allocations: 19.86 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.3026, allocations: 39.86 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3026, allocations: 0 / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.218e-06/0.3026, allocations: 4 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.3027, allocations: 0 / 0.7846 GB, free: 12.07 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000711/0.3034, allocations: 359.7 kB / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.3034, allocations: 12.03 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.3035, allocations: 4.844 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.3037, allocations: 176.2 kB / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.3037, allocations: 384 / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.3037, allocations: 4.375 kB / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.304, allocations: 70.16 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.304, allocations: 192 / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.3041, allocations: 3.938 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.3041, allocations: 3.984 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/0.3044, allocations: 67.92 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006862/0.3051, allocations: 265 kB / 0.7855 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.3053, allocations: 58.47 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.3055, allocations: 44.86 kB / 0.7856 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.3056, allocations: 0 / 0.7856 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.3056, allocations: 30.56 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3056, allocations: 3.938 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0006273/0.3062, allocations: 133.6 kB / 0.7858 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.3063, allocations: 51.41 kB / 0.7858 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.3065, allocations: 109.8 kB / 0.7859 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.3065, allocations: 25.7 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.3066, allocations: 92.05 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.3066, allocations: 11.89 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.3067, allocations: 13.72 kB / 0.7861 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3068, allocations: 314.8 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.307, allocations: 35.89 kB / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.3071, allocations: 31.97 kB / 0.7864 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.3074, allocations: 72.78 kB / 0.7865 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.3074, allocations: 3.938 kB / 0.7865 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004018/0.3078, allocations: 97.62 kB / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.3078, allocations: 4 kB / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3078, allocations: 0 / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3079, allocations: 0 / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.308, allocations: 23.97 kB / 0.7866 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.308, allocations: 3.938 kB / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.325e-05/0.3081, allocations: 19.89 kB / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.3081, allocations: 0 / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.373e-05/0.3082, allocations: 110.4 kB / 0.7868 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.3083, allocations: 4 kB / 0.7868 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003632/0.3086, allocations: 109.5 kB / 0.7869 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3087, allocations: 0 / 0.7869 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.3087, allocations: 0 / 0.7869 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3087, allocations: 0 / 0.7869 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.309, allocations: 177.5 kB / 0.787 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.309, allocations: 0 / 0.787 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.3091, allocations: 15.98 kB / 0.7871 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3091, allocations: 0 / 0.7871 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.3091, allocations: 4 kB / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3091, allocations: 3.938 kB / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3091, allocations: 0 / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004362/0.3096, allocations: 203.7 kB / 0.7873 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.953e-05/0.3097, allocations: 81.11 kB / 0.7873 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.3097, allocations: 4 kB / 0.7873 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3098, allocations: 11.98 kB / 0.7873 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.3099, allocations: 7.984 kB / 0.7874 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.3099, allocations: 3.938 kB / 0.7874 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000115/0.31, allocations: 87.27 kB / 0.7874 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.31, allocations: 0 / 0.7874 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002451/0.3103, allocations: 15.92 kB / 0.7875 GB, free: 8.812 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.000243/0.3105, allocations: 103.2 kB / 0.7876 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004207/0.311, allocations: 71.86 kB / 0.7876 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.311, allocations: 0 / 0.7876 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.3111, allocations: 31.97 kB / 0.7877 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.3116, allocations: 23.16 kB / 0.7877 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004778/0.3121, allocations: 133.4 kB / 0.7878 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/0.3126, allocations: 0.6768 MB / 0.7885 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.208e-05/0.3127, allocations: 4 kB / 0.7885 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.3127, allocations: 11.44 kB / 0.7885 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.3127, allocations: 0 / 0.7885 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of Templates: time 0.003014/0.3157, allocations: 0.5773 MB / 0.789 GB, free: 7.133 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)