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.001319/0.001319, allocations: 105 kB / 16.36 MB, free: 6.426 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.001312/0.001312, allocations: 195.5 kB / 17.3 MB, free: 5.801 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.443/1.443, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.787/1.787, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001555/0.001555, allocations: 67.91 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2461, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.002095/0.2482, allocations: 0.691 MB / 0.7855 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.2492, allocations: 0.8087 MB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.947e-05/0.2493, allocations: 4 kB / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.344e-05/0.2493, allocations: 3.984 kB / 0.7863 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.387e-05/0.2494, allocations: 11.86 kB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.005e-05/0.2495, allocations: 7.984 kB / 0.7863 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.67e-05/0.2496, allocations: 43.92 kB / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.2497, allocations: 7.984 kB / 0.7863 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.225e-05/0.2498, allocations: 23.92 kB / 0.7864 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.632e-05/0.2498, allocations: 19.92 kB / 0.7864 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.2499, allocations: 4 kB / 0.7864 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-06/0.2499, allocations: 0 / 0.7864 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.2499, allocations: 11.98 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.2499, allocations: 19.88 kB / 0.7864 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.078e-05/0.25, allocations: 47.78 kB / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.25, allocations: 0 / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2501, allocations: 0 / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2501, allocations: 0 / 0.7865 GB, free: 1.422 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.0006125/0.2507, allocations: 359.4 kB / 0.7868 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2507, allocations: 8.031 kB / 0.7868 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.2508, allocations: 8.844 kB / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.2509, allocations: 168.3 kB / 0.787 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.2509, allocations: 8.375 kB / 0.787 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.2509, allocations: 8.359 kB / 0.787 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.2512, allocations: 66.22 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2512, allocations: 192 / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.2512, allocations: 11.94 kB / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2513, allocations: 3.938 kB / 0.7871 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/0.2515, allocations: 67.86 kB / 0.7871 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.2519, allocations: 264.9 kB / 0.7874 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.2521, allocations: 58.48 kB / 0.7875 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.2523, allocations: 36.91 kB / 0.7875 GB, free: 224 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.2523, allocations: 0 / 0.7875 GB, free: 224 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.2523, allocations: 34.56 kB / 0.7875 GB, free: 180 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2524, allocations: 4 kB / 0.7875 GB, free: 176 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005127/0.2529, allocations: 125.5 kB / 0.7876 GB, free: 44 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3684/0.6213, allocations: 55.41 kB / 0.7877 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.6215, allocations: 109.5 kB / 0.7878 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.6215, allocations: 27.08 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.6216, allocations: 88.11 kB / 0.7879 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.6216, allocations: 7.281 kB / 0.7879 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.6216, allocations: 17.39 kB / 0.7879 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.134e-05/0.6217, allocations: 317.2 kB / 0.7882 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.6219, allocations: 35.34 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.622, allocations: 27.73 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.6223, allocations: 70.33 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.6223, allocations: 3.75 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000314/0.6226, allocations: 105.8 kB / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.6227, allocations: 5.469 kB / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.6227, allocations: 1.938 kB / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.6227, allocations: 0 / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.6228, allocations: 12.16 kB / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.6228, allocations: 5.891 kB / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.666e-05/0.6229, allocations: 10.45 kB / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.6229, allocations: 2.688 kB / 0.7885 GB, free: 48.3 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 6.312e-05/0.623, allocations: 115.2 kB / 0.7886 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.623, allocations: 4.062 kB / 0.7886 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.6231, allocations: 7.156 kB / 0.7886 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.6231, allocations: 9.75 kB / 0.7886 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6231, allocations: 0 / 0.7886 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.6231, allocations: 0 / 0.7886 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.6232, allocations: 175.9 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6233, allocations: 0 / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.964e-05/0.6234, allocations: 17.12 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.6234, allocations: 0 / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.6234, allocations: 5.344 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.6234, allocations: 3.938 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6234, allocations: 1 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.6237, allocations: 193.2 kB / 0.789 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.6237, allocations: 80.89 kB / 0.7891 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.6238, allocations: 0 / 0.7891 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.859e-05/0.6239, allocations: 18.97 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.6239, allocations: 7.516 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.6239, allocations: 0 / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.907e-05/0.624, allocations: 85.86 kB / 0.7892 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.222e-06/0.624, allocations: 0 / 0.7892 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000209/0.6242, allocations: 15.31 kB / 0.7892 GB, free: 47.68 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.0001131/0.6243, allocations: 98.28 kB / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003117/0.6246, allocations: 71.8 kB / 0.7894 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6246, allocations: 0.7188 kB / 0.7894 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.6248, allocations: 36.22 kB / 0.7894 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.6251, allocations: 13.38 kB / 0.7894 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.6254, allocations: 120.8 kB / 0.7895 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.6255, allocations: 0.6812 MB / 0.7902 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.006e-05/0.6256, allocations: 3.891 kB / 0.7902 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.6256, allocations: 11.22 kB / 0.7902 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.6256, allocations: 1.625 kB / 0.7902 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of Templates: time 0.002784/0.6284, allocations: 0.6841 MB / 0.7909 GB, free: 46.79 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)