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.001326/0.001326, allocations: 109.4 kB / 15.69 MB, free: 128 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.001582/0.001582, allocations: 187.7 kB / 16.62 MB, free: 6.613 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.592/1.592, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.842/1.842, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001561/0.001561, allocations: 78.2 kB / 0.6723 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.301, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.002464/0.3035, allocations: 0.7099 MB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3046, allocations: 0.8048 MB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.018e-05/0.3047, allocations: 0 / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.3048, allocations: 0 / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.524e-05/0.3049, allocations: 11.86 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.989e-05/0.305, allocations: 11.98 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.3051, allocations: 51.84 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.3052, allocations: 4 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.124e-05/0.3053, allocations: 19.92 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.791e-05/0.3054, allocations: 23.91 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.3054, allocations: 4 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/0.3054, allocations: 4 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.051e-05/0.3054, allocations: 4 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.3055, allocations: 27.86 kB / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.3056, allocations: 39.86 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.3056, allocations: 0 / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3056, allocations: 0 / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3056, allocations: 0 / 0.7858 GB, free: 11.02 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.0006859/0.3063, allocations: 359.4 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.3064, allocations: 12.02 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.3064, allocations: 12.78 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.3066, allocations: 172.2 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.3066, allocations: 4.375 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.3066, allocations: 4.375 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.3068, allocations: 62.22 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.3069, allocations: 192 / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.3069, allocations: 11.94 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3069, allocations: 0 / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/0.3072, allocations: 67.92 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.3076, allocations: 264.9 kB / 0.7867 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.3078, allocations: 62.47 kB / 0.7868 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.3079, allocations: 36.92 kB / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.308, allocations: 0 / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.308, allocations: 34.56 kB / 0.7869 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 3.667e-06/0.308, allocations: 0 / 0.7869 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005251/0.3085, allocations: 137.5 kB / 0.787 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.3086, allocations: 51.41 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.92e-05/0.3087, allocations: 113.8 kB / 0.7871 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.3087, allocations: 29.7 kB / 0.7872 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/0.3088, allocations: 88.05 kB / 0.7873 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.3088, allocations: 3.906 kB / 0.7873 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.3088, allocations: 17.7 kB / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.309, allocations: 318.8 kB / 0.7876 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.3092, allocations: 35.91 kB / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.3093, allocations: 31.95 kB / 0.7876 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.3095, allocations: 72.78 kB / 0.7877 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.3096, allocations: 7.938 kB / 0.7877 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002902/0.3099, allocations: 97.56 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3099, allocations: 4 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3099, allocations: 0 / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3099, allocations: 0 / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.31, allocations: 15.98 kB / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3101, allocations: 4 kB / 0.7878 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.3102, allocations: 19.88 kB / 0.7879 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.3102, allocations: 0 / 0.7879 GB, free: 8.688 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.698e-05/0.3103, allocations: 114.4 kB / 0.788 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.3103, allocations: 4 kB / 0.788 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.3104, allocations: 3.906 kB / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3104, allocations: 0 / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.3104, allocations: 0 / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3104, allocations: 8 kB / 0.788 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.3106, allocations: 177.5 kB / 0.7882 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3106, allocations: 4 kB / 0.7882 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.999e-05/0.3107, allocations: 15.92 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3107, allocations: 0 / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.3107, allocations: 0 / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3108, allocations: 4 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3108, allocations: 0 / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003932/0.3112, allocations: 203.6 kB / 0.7884 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.3112, allocations: 77.11 kB / 0.7884 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.3112, allocations: 0 / 0.7884 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3114, allocations: 15.92 kB / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.3114, allocations: 8.031 kB / 0.7885 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.3114, allocations: 11.98 kB / 0.7885 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.709e-05/0.3115, allocations: 83.28 kB / 0.7886 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3115, allocations: 0 / 0.7886 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002206/0.3117, allocations: 8 kB / 0.7886 GB, free: 7.867 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.312, allocations: 99.25 kB / 0.7887 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003905/0.3124, allocations: 71.86 kB / 0.7887 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3124, allocations: 0 / 0.7887 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.3125, allocations: 35.95 kB / 0.7888 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.3129, allocations: 11.94 kB / 0.7888 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/0.3134, allocations: 129.3 kB / 0.7889 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.3137, allocations: 0.6846 MB / 0.7896 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.651e-05/0.3137, allocations: 0 / 0.7896 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.3138, allocations: 15.44 kB / 0.7896 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of SimCode: time 1.593e-06/0.3138, allocations: 0 / 0.7896 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of Templates: time 0.003161/0.3169, allocations: 0.6915 MB / 0.7903 GB, free: 6.086 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)