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.001134/0.001134, allocations: 107 kB / 16.36 MB, free: 6.305 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.001104/0.001104, allocations: 189.2 kB / 17.29 MB, free: 5.875 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.375/1.375, allocations: 205.1 MB / 223.2 MB, free: 12.25 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 2.054/2.054, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001654/0.001654, allocations: 72.47 kB / 0.6729 GB, free: 5.781 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2328, allocations: 114.6 MB / 0.7848 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.002032/0.2348, allocations: 0.6983 MB / 0.7855 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008655/0.2357, allocations: 0.8048 MB / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.212e-05/0.2358, allocations: 0 / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.2358, allocations: 0 / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.702e-05/0.2359, allocations: 15.86 kB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.467e-05/0.2359, allocations: 11.92 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.169e-05/0.236, allocations: 39.92 kB / 0.7863 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2361, allocations: 19.97 kB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.23e-05/0.2362, allocations: 19.92 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.116e-05/0.2362, allocations: 15.92 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.2363, allocations: 4 kB / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.2363, allocations: 4 kB / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.2363, allocations: 7.984 kB / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.2363, allocations: 19.88 kB / 0.7864 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.852e-05/0.2364, allocations: 35.88 kB / 0.7865 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2364, allocations: 0 / 0.7865 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2364, allocations: 0 / 0.7865 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2364, allocations: 4 kB / 0.7865 GB, free: 1.383 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.0005224/0.237, allocations: 359.4 kB / 0.7868 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.237, allocations: 15.97 kB / 0.7868 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.237, allocations: 4.844 kB / 0.7868 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.2372, allocations: 176.3 kB / 0.787 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.2372, allocations: 384 / 0.787 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.2372, allocations: 4.375 kB / 0.787 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.2374, allocations: 74.2 kB / 0.7871 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.2375, allocations: 192 / 0.7871 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.2375, allocations: 3.938 kB / 0.7871 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.2375, allocations: 7.938 kB / 0.7871 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002757/0.2378, allocations: 63.92 kB / 0.7871 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.2381, allocations: 272.8 kB / 0.7874 GB, free: 284 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.2383, allocations: 54.47 kB / 0.7875 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.2385, allocations: 36.92 kB / 0.7875 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.2385, allocations: 0 / 0.7875 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.2385, allocations: 42.55 kB / 0.7875 GB, free: 128 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.2385, allocations: 3.938 kB / 0.7875 GB, free: 124 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.3468/0.5854, allocations: 123.6 kB / 0.7877 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.5855, allocations: 51.41 kB / 0.7877 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.349e-05/0.5856, allocations: 110 kB / 0.7878 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.5856, allocations: 25.7 kB / 0.7878 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.238e-05/0.5856, allocations: 89.88 kB / 0.7879 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.5857, allocations: 10.47 kB / 0.7879 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.5857, allocations: 13.91 kB / 0.7879 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.996e-05/0.5858, allocations: 316.6 kB / 0.7882 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.5859, allocations: 31.59 kB / 0.7883 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.5861, allocations: 36.55 kB / 0.7883 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.5863, allocations: 62.91 kB / 0.7884 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.5864, allocations: 7.531 kB / 0.7884 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003215/0.5867, allocations: 98.39 kB / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.5867, allocations: 5.438 kB / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5867, allocations: 1.969 kB / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.5867, allocations: 0 / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.5869, allocations: 23.25 kB / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.5869, allocations: 0 / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.079e-05/0.587, allocations: 17.83 kB / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.587, allocations: 0 / 0.7885 GB, free: 48.25 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 5.559e-05/0.5871, allocations: 110.1 kB / 0.7886 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.5871, allocations: 4.875 kB / 0.7886 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.5871, allocations: 11.78 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5871, allocations: 0 / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.5872, allocations: 0.8438 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.5872, allocations: 5.859 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.5873, allocations: 169.2 kB / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.5873, allocations: 2.688 kB / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.223e-05/0.5874, allocations: 16.92 kB / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.5874, allocations: 0 / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.5874, allocations: 7.312 kB / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5874, allocations: 0 / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5874, allocations: 0 / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.5878, allocations: 197.5 kB / 0.789 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.042e-05/0.5878, allocations: 80.92 kB / 0.7891 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.5878, allocations: 7.766 kB / 0.7891 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.5879, allocations: 14.17 kB / 0.7891 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.588, allocations: 7.562 kB / 0.7891 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.588, allocations: 0 / 0.7891 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.559e-05/0.588, allocations: 89.66 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.588, allocations: 0 / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000213/0.5882, allocations: 10 kB / 0.7892 GB, free: 47.63 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 9.795e-05/0.5883, allocations: 100.9 kB / 0.7893 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003172/0.5887, allocations: 72.03 kB / 0.7894 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.5887, allocations: 0.875 kB / 0.7894 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.5888, allocations: 39.14 kB / 0.7894 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.5891, allocations: 3.906 kB / 0.7894 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.5894, allocations: 148.8 kB / 0.7896 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.143e-05/0.5895, allocations: 0.6786 MB / 0.7902 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.5895, allocations: 14.47 kB / 0.7902 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.5896, allocations: 0 / 0.7902 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.001995/0.5916, allocations: 0.748 MB / 0.791 GB, free: 46.71 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)