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.000911/0.000911, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009213/0.0009216, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.607/1.607, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0004794/0.0004794, allocations: 23.44 kB / 0.6736 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2553, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.000819/0.2562, allocations: 429 kB / 0.7875 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007791/0.257, allocations: 0.7948 MB / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.257, allocations: 7.938 kB / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.149e-05/0.2571, allocations: 0 / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.478e-05/0.2571, allocations: 7.922 kB / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.709e-05/0.2572, allocations: 15.98 kB / 0.7883 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.369e-05/0.2572, allocations: 15.97 kB / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.214e-05/0.2573, allocations: 8 kB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.301e-05/0.2574, allocations: 19.92 kB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.394e-05/0.2574, allocations: 19.91 kB / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.2575, allocations: 11.94 kB / 0.7884 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.074e-06/0.2575, allocations: 0 / 0.7884 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.487e-06/0.2575, allocations: 0 / 0.7884 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.2575, allocations: 33.7 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.184e-05/0.2576, allocations: 23.92 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.2576, allocations: 0 / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2576, allocations: 0 / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.2576, allocations: 0 / 0.7885 GB, free: 10.55 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.000463/0.2581, allocations: 375.5 kB / 0.7888 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.2581, allocations: 12.03 kB / 0.7888 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.2581, allocations: 7.906 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.2583, allocations: 174.9 kB / 0.789 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.2583, allocations: 0 / 0.789 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.2583, allocations: 8 kB / 0.789 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.2585, allocations: 73.66 kB / 0.7891 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.2586, allocations: 0 / 0.7891 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.2586, allocations: 4 kB / 0.7891 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2586, allocations: 4 kB / 0.7891 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.2589, allocations: 83.92 kB / 0.7892 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/0.2592, allocations: 272.9 kB / 0.7894 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.2594, allocations: 66.53 kB / 0.7895 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.2594, allocations: 0 / 0.7895 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.2595, allocations: 34.56 kB / 0.7895 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.2595, allocations: 0 / 0.7895 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000539/0.26, allocations: 169.5 kB / 0.7897 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.2601, allocations: 51.41 kB / 0.7898 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.902e-05/0.2601, allocations: 113.8 kB / 0.7899 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.2602, allocations: 25.7 kB / 0.7899 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.2602, allocations: 88.08 kB / 0.79 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.2602, allocations: 7.906 kB / 0.79 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.2602, allocations: 0 / 0.79 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2604, allocations: 318.8 kB / 0.7903 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.2605, allocations: 43.97 kB / 0.7903 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.2607, allocations: 39.97 kB / 0.7904 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.2608, allocations: 47.95 kB / 0.7904 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2608, allocations: 0 / 0.7904 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003134/0.2612, allocations: 125.8 kB / 0.7905 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.2612, allocations: 4 kB / 0.7905 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.2612, allocations: 3.984 kB / 0.7905 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.2612, allocations: 0 / 0.7905 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.2613, allocations: 23.98 kB / 0.7906 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.2613, allocations: 0 / 0.7906 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.422e-05/0.2614, allocations: 27.91 kB / 0.7906 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.2614, allocations: 0 / 0.7906 GB, free: 8.172 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.571e-05/0.2615, allocations: 113.8 kB / 0.7907 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.2615, allocations: 0 / 0.7907 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.185e-05/0.2616, allocations: 11.91 kB / 0.7907 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2616, allocations: 4 kB / 0.7907 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2616, allocations: 0 / 0.7907 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2616, allocations: 0 / 0.7907 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.2617, allocations: 185.4 kB / 0.7909 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2618, allocations: 0 / 0.7909 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.719e-05/0.2619, allocations: 19.98 kB / 0.7909 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2619, allocations: 0 / 0.7909 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-06/0.2619, allocations: 0 / 0.7909 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2619, allocations: 4 kB / 0.7909 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2619, allocations: 0 / 0.7909 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.2622, allocations: 223.4 kB / 0.7911 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.2623, allocations: 77.11 kB / 0.7912 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.2623, allocations: 8 kB / 0.7912 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.2624, allocations: 15.98 kB / 0.7912 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.2625, allocations: 7.984 kB / 0.7912 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.2625, allocations: 0 / 0.7912 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.682e-05/0.2625, allocations: 87.28 kB / 0.7913 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2625, allocations: 3.938 kB / 0.7913 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002016/0.2627, allocations: 4 kB / 0.7913 GB, free: 7.324 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000116/0.2628, allocations: 103.2 kB / 0.7914 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003299/0.2632, allocations: 91.86 kB / 0.7915 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2632, allocations: 0 / 0.7915 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.2633, allocations: 47.97 kB / 0.7915 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.2636, allocations: 15.89 kB / 0.7916 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002487/0.2638, allocations: 132.6 kB / 0.7917 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.264, allocations: 0.6809 MB / 0.7924 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.92e-05/0.2641, allocations: 4 kB / 0.7924 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.2641, allocations: 7.438 kB / 0.7924 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2641, allocations: 0 / 0.7924 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of Templates: time 0.00221/0.2663, allocations: 0.5281 MB / 0.7929 GB, free: 5.676 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: