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.00131/0.00131, allocations: 112.8 kB / 15.99 MB, free: 6.355 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.001538/0.001538, allocations: 189 kB / 16.91 MB, free: 6.195 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.488/1.488, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.69/1.69, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001396/0.001397, allocations: 73.3 kB / 0.6717 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2427, allocations: 114.6 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.002112/0.2448, allocations: 0.7632 MB / 0.7843 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008959/0.2458, allocations: 0.8049 MB / 0.7851 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.072e-05/0.2458, allocations: 3.938 kB / 0.7851 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.723e-05/0.2459, allocations: 4 kB / 0.7851 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.385e-05/0.246, allocations: 3.938 kB / 0.7851 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.059e-05/0.246, allocations: 7.984 kB / 0.7851 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.675e-05/0.2461, allocations: 47.86 kB / 0.7851 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.2462, allocations: 11.98 kB / 0.7851 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.381e-05/0.2463, allocations: 19.92 kB / 0.7852 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.46e-05/0.2464, allocations: 23.91 kB / 0.7852 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.2464, allocations: 4 kB / 0.7852 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.156e-06/0.2464, allocations: 0 / 0.7852 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.2464, allocations: 8 kB / 0.7852 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.13e-05/0.2465, allocations: 23.86 kB / 0.7852 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.915e-05/0.2466, allocations: 23.95 kB / 0.7852 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2466, allocations: 3.938 kB / 0.7852 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2466, allocations: 0 / 0.7852 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.535e-06/0.2466, allocations: 3.984 kB / 0.7853 GB, free: 12.14 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.0005477/0.2471, allocations: 359.7 kB / 0.7856 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.2472, allocations: 12.03 kB / 0.7856 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.2472, allocations: 4.844 kB / 0.7856 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.2474, allocations: 180.2 kB / 0.7858 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.2474, allocations: 384 / 0.7858 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2474, allocations: 4.375 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.2477, allocations: 78.14 kB / 0.7859 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.2477, allocations: 192 / 0.7859 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.2477, allocations: 3.938 kB / 0.7859 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2477, allocations: 0 / 0.7859 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.248, allocations: 63.92 kB / 0.7859 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.2483, allocations: 269 kB / 0.7862 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.2485, allocations: 54.42 kB / 0.7862 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.2487, allocations: 40.91 kB / 0.7863 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.2487, allocations: 0 / 0.7863 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.2488, allocations: 38.56 kB / 0.7863 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.2488, allocations: 0 / 0.7863 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004907/0.2493, allocations: 121.6 kB / 0.7864 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.2493, allocations: 55.41 kB / 0.7865 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.836e-05/0.2494, allocations: 117.8 kB / 0.7866 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.2494, allocations: 25.7 kB / 0.7866 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.569e-05/0.2495, allocations: 99.97 kB / 0.7867 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.2495, allocations: 3.906 kB / 0.7867 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.2495, allocations: 17.72 kB / 0.7867 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2497, allocations: 310.8 kB / 0.787 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.2498, allocations: 35.95 kB / 0.7871 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.2499, allocations: 31.97 kB / 0.7871 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.2502, allocations: 64.78 kB / 0.7872 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2502, allocations: 3.938 kB / 0.7872 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002996/0.2505, allocations: 97.62 kB / 0.7873 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.2505, allocations: 8 kB / 0.7873 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2505, allocations: 0 / 0.7873 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2506, allocations: 4.266 kB / 0.7873 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.2507, allocations: 15.97 kB / 0.7873 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2507, allocations: 0 / 0.7873 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.408e-05/0.2508, allocations: 15.89 kB / 0.7873 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.2508, allocations: 8 kB / 0.7873 GB, free: 9.812 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 7.507e-05/0.2509, allocations: 114.4 kB / 0.7874 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.2509, allocations: 0 / 0.7874 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.2509, allocations: 19.83 kB / 0.7874 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2509, allocations: 3.984 kB / 0.7874 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.251, allocations: 0 / 0.7874 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.251, allocations: 0 / 0.7874 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.2511, allocations: 173.5 kB / 0.7876 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2511, allocations: 0 / 0.7876 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.025e-05/0.2512, allocations: 23.98 kB / 0.7876 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2512, allocations: 0 / 0.7876 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.2513, allocations: 0 / 0.7876 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2513, allocations: 3.984 kB / 0.7876 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2513, allocations: 0 / 0.7876 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.2516, allocations: 199.3 kB / 0.7878 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.2517, allocations: 85.11 kB / 0.7879 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.2517, allocations: 0 / 0.7879 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.873e-05/0.2518, allocations: 11.98 kB / 0.7879 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.2518, allocations: 3.984 kB / 0.7879 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.2518, allocations: 0 / 0.7879 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.633e-05/0.2519, allocations: 91.27 kB / 0.788 GB, free: 9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2519, allocations: 3.938 kB / 0.788 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002089/0.2521, allocations: 4 kB / 0.788 GB, free: 8.992 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.0001362/0.2523, allocations: 103.2 kB / 0.7881 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003219/0.2526, allocations: 67.92 kB / 0.7882 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2526, allocations: 3.938 kB / 0.7882 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.2527, allocations: 39.97 kB / 0.7882 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.2531, allocations: 11.92 kB / 0.7882 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.2534, allocations: 163.1 kB / 0.7884 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.2537, allocations: 0.6768 MB / 0.789 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.2537, allocations: 15.44 kB / 0.7891 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2537, allocations: 0 / 0.7891 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of Templates: time 0.002193/0.2559, allocations: 0.7563 MB / 0.7898 GB, free: 7.098 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)