Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 107.7 kB / 16.29 MB, free: 6.023 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.002182/0.002182, allocations: 187.4 kB / 17.22 MB, free: 5.633 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.573/1.573, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.912/1.912, allocations: 292.3 MB / 0.5495 GB, free: 17.61 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.001495/0.001495, allocations: 71.89 kB / 0.6722 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3009, allocations: 114.6 MB / 0.7841 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.00243/0.3034, allocations: 0.69 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.3046, allocations: 0.8087 MB / 0.7856 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.441e-05/0.3047, allocations: 4 kB / 0.7856 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.557e-05/0.3047, allocations: 3.938 kB / 0.7856 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.406e-05/0.3048, allocations: 3.938 kB / 0.7856 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 7.798e-05/0.3049, allocations: 11.98 kB / 0.7856 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.732e-05/0.305, allocations: 43.91 kB / 0.7856 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.3051, allocations: 8 kB / 0.7856 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.832e-05/0.3052, allocations: 19.86 kB / 0.7857 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.967e-05/0.3053, allocations: 31.91 kB / 0.7857 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.3053, allocations: 4 kB / 0.7857 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.3053, allocations: 0 / 0.7857 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.018e-05/0.3054, allocations: 11.98 kB / 0.7857 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.3054, allocations: 19.86 kB / 0.7857 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.3055, allocations: 43.88 kB / 0.7858 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3055, allocations: 0 / 0.7858 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.394e-06/0.3055, allocations: 0 / 0.7858 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.3056, allocations: 0 / 0.7858 GB, free: 2.105 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000669/0.3062, allocations: 359.7 kB / 0.7861 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.3063, allocations: 8.031 kB / 0.7861 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.3063, allocations: 8.844 kB / 0.7861 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.3065, allocations: 168.3 kB / 0.7863 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.3065, allocations: 8.312 kB / 0.7863 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.3065, allocations: 384 / 0.7863 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.3068, allocations: 70.22 kB / 0.7864 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3068, allocations: 8.109 kB / 0.7864 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.3069, allocations: 11.94 kB / 0.7864 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3069, allocations: 3.938 kB / 0.7864 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.3071, allocations: 63.92 kB / 0.7864 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.3075, allocations: 264.9 kB / 0.7867 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.3077, allocations: 62.58 kB / 0.7868 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.3079, allocations: 40.75 kB / 0.7868 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.3079, allocations: 0 / 0.7868 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.3079, allocations: 34.56 kB / 0.7868 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.3079, allocations: 0 / 0.7868 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0004911/0.3084, allocations: 129.6 kB / 0.7869 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.3085, allocations: 51.41 kB / 0.787 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.3e-05/0.3086, allocations: 109.8 kB / 0.7871 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3086, allocations: 25.7 kB / 0.7871 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.159e-05/0.3087, allocations: 96.03 kB / 0.7872 GB, free: 420 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.3087, allocations: 7.906 kB / 0.7872 GB, free: 412 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.3088, allocations: 13.72 kB / 0.7872 GB, free: 392 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3089, allocations: 318.8 kB / 0.7875 GB, free: 64 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.309, allocations: 35.91 kB / 0.7876 GB, free: 28 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5082/0.8173, allocations: 31.28 kB / 0.7876 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.8176, allocations: 62.73 kB / 0.7877 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.8177, allocations: 3.75 kB / 0.7877 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003044/0.818, allocations: 98.61 kB / 0.7878 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.818, allocations: 5.969 kB / 0.7878 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.818, allocations: 3.094 kB / 0.7878 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.818, allocations: 0 / 0.7878 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.8182, allocations: 16.38 kB / 0.7878 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.8182, allocations: 3.906 kB / 0.7878 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.465e-05/0.8183, allocations: 13.34 kB / 0.7878 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.8183, allocations: 3.438 kB / 0.7878 GB, free: 48.43 MB / 0.6544 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 7.058e-05/0.8184, allocations: 117.8 kB / 0.7879 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.8184, allocations: 2.812 kB / 0.7879 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/0.8184, allocations: 9.594 kB / 0.7879 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.8184, allocations: 3.469 kB / 0.7879 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.8185, allocations: 0 / 0.7879 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.8185, allocations: 3.375 kB / 0.7879 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.8186, allocations: 173 kB / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.8187, allocations: 0 / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.648e-05/0.8188, allocations: 21.62 kB / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.8188, allocations: 0.6562 kB / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.8188, allocations: 2.531 kB / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.8188, allocations: 2.938 kB / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.8188, allocations: 0.5 kB / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.8191, allocations: 196 kB / 0.7883 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.8191, allocations: 79.77 kB / 0.7884 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.8191, allocations: 6.469 kB / 0.7884 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-05/0.8192, allocations: 19.09 kB / 0.7884 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.8193, allocations: 7.953 kB / 0.7884 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.8193, allocations: 0 / 0.7884 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.021e-05/0.8193, allocations: 84.34 kB / 0.7885 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8193, allocations: 0 / 0.7885 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002135/0.8195, allocations: 11.06 kB / 0.7885 GB, free: 47.82 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: 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.0001224/0.8197, allocations: 106.8 kB / 0.7886 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002906/0.82, allocations: 71.55 kB / 0.7887 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.82, allocations: 0 / 0.7887 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.8201, allocations: 39.77 kB / 0.7887 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.8205, allocations: 6.562 kB / 0.7887 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.8207, allocations: 117.7 kB / 0.7888 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.8209, allocations: 0.6826 MB / 0.7895 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.136e-05/0.8209, allocations: 1.125 kB / 0.7895 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.821, allocations: 11.72 kB / 0.7895 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.821, allocations: 1.406 kB / 0.7895 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.002831/0.8238, allocations: 0.6796 MB / 0.7902 GB, free: 46.93 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)