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.001412/0.001412, 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.00168/0.00168, allocations: 198.8 kB / 16.14 MB, free: 6.656 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.547/1.547, allocations: 205.1 MB / 222 MB, free: 4.758 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.854/1.854, allocations: 292.3 MB / 0.5484 GB, free: 13.7 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.001371/0.001371, allocations: 68.61 kB / 0.6708 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2965, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.002037/0.2986, allocations: 0.7554 MB / 0.7834 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007704/0.2994, allocations: 0.8126 MB / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.806e-05/0.2994, allocations: 4 kB / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.77e-05/0.2995, allocations: 3.938 kB / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.296e-05/0.2996, allocations: 3.938 kB / 0.7842 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.826e-05/0.2997, allocations: 11.98 kB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.164e-05/0.2998, allocations: 43.84 kB / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2999, allocations: 12 kB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.675e-05/0.3, allocations: 23.86 kB / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.907e-05/0.3, allocations: 19.91 kB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.3, allocations: 8 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.36e-05/0.3001, allocations: 0 / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.3001, allocations: 4 kB / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.3001, allocations: 19.86 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.3e-05/0.3002, allocations: 39.86 kB / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3002, allocations: 0 / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3002, allocations: 0 / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.596e-06/0.3002, allocations: 0 / 0.7844 GB, free: 12.22 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.0005365/0.3008, allocations: 359.7 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.3008, allocations: 12.03 kB / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.3009, allocations: 4.844 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.301, allocations: 176.2 kB / 0.7849 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.301, allocations: 4.375 kB / 0.7849 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.301, allocations: 384 / 0.7849 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.3013, allocations: 70.22 kB / 0.785 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3013, allocations: 4.125 kB / 0.785 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3014, allocations: 7.938 kB / 0.785 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.3014, allocations: 4 kB / 0.785 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.3017, allocations: 63.92 kB / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.302, allocations: 257 kB / 0.7853 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.3023, allocations: 70.45 kB / 0.7854 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.3024, allocations: 36.92 kB / 0.7854 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.3025, allocations: 3.938 kB / 0.7854 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.3025, allocations: 34.56 kB / 0.7855 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3025, allocations: 0 / 0.7855 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.00056/0.3031, allocations: 129.6 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.3031, allocations: 51.41 kB / 0.7856 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.818e-05/0.3032, allocations: 113.8 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.3032, allocations: 25.7 kB / 0.7858 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.3033, allocations: 92.05 kB / 0.7859 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.3033, allocations: 7.906 kB / 0.7859 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.449e-05/0.3033, allocations: 21.7 kB / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3034, allocations: 310.8 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.3036, allocations: 31.91 kB / 0.7862 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.3037, allocations: 35.95 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.304, allocations: 68.78 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.304, allocations: 3.938 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003194/0.3043, allocations: 93.62 kB / 0.7864 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.3044, allocations: 15.94 kB / 0.7864 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3044, allocations: 0 / 0.7864 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3044, allocations: 0 / 0.7864 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.3046, allocations: 11.98 kB / 0.7864 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.3046, allocations: 4 kB / 0.7864 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.53e-05/0.3047, allocations: 15.88 kB / 0.7865 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.3047, allocations: 7.938 kB / 0.7865 GB, free: 9.891 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 9.999e-05/0.3048, allocations: 114.4 kB / 0.7866 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.3048, allocations: 8 kB / 0.7866 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000399/0.3052, allocations: 101.5 kB / 0.7867 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3053, allocations: 0 / 0.7867 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.3053, allocations: 4 kB / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3053, allocations: 0 / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.3055, allocations: 181.5 kB / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3055, allocations: 0 / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.93e-05/0.3056, allocations: 15.98 kB / 0.7869 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3057, allocations: 0 / 0.7869 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.3057, allocations: 4 kB / 0.7869 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3057, allocations: 0 / 0.7869 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.3057, allocations: 3.938 kB / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.3061, allocations: 203.7 kB / 0.7871 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.3061, allocations: 77.11 kB / 0.7871 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.3061, allocations: 4 kB / 0.7872 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.3062, allocations: 11.98 kB / 0.7872 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.3063, allocations: 12.02 kB / 0.7872 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.3063, allocations: 3.938 kB / 0.7872 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.435e-05/0.3064, allocations: 87.28 kB / 0.7873 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3064, allocations: 0 / 0.7873 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002255/0.3066, allocations: 8 kB / 0.7873 GB, free: 8.965 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.0001803/0.3068, allocations: 103.2 kB / 0.7874 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003697/0.3072, allocations: 67.86 kB / 0.7874 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3072, allocations: 4 kB / 0.7874 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.3074, allocations: 35.97 kB / 0.7875 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.3078, allocations: 15.17 kB / 0.7875 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.3081, allocations: 131.2 kB / 0.7876 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.3085, allocations: 0.6809 MB / 0.7883 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.477e-05/0.3085, allocations: 4 kB / 0.7883 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.3086, allocations: 11.44 kB / 0.7883 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.3086, allocations: 3.938 kB / 0.7883 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of Templates: time 0.00306/0.3116, allocations: 0.5425 MB / 0.7888 GB, free: 7.32 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)