Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.553/1.553, allocations: 252 MB / 268 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009679/0.0009681, allocations: 186.7 kB / 327.6 MB, free: 2.125 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205.4 MB / 0.5786 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008074/0.0008073, allocations: 79.06 kB / 0.6832 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003194, allocations: 13 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2019, allocations: 106.3 MB / 0.9015 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001413/0.2034, allocations: 1.136 MB / 0.9026 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002527/0.2037, allocations: 121.8 kB / 0.9027 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.175e-05/0.2037, allocations: 0 / 0.9027 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.789e-05/0.2037, allocations: 0 / 0.9027 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.589e-05/0.2038, allocations: 3.938 kB / 0.9027 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.591e-05/0.2039, allocations: 19.98 kB / 0.9027 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.529e-05/0.204, allocations: 47.83 kB / 0.9028 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.501e-05/0.2041, allocations: 4 kB / 0.9028 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.786e-05/0.2041, allocations: 19.92 kB / 0.9028 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.528e-05/0.2042, allocations: 19.86 kB / 0.9028 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.2042, allocations: 0 / 0.9028 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.2042, allocations: 4 kB / 0.9028 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.2042, allocations: 7.984 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.2043, allocations: 45.58 kB / 0.9029 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.581e-05/0.2043, allocations: 19.94 kB / 0.9029 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2043, allocations: 0 / 0.9029 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2044, allocations: 0 / 0.9029 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.2044, allocations: 4 kB / 0.9029 GB, free: 62.07 MB / 0.6042 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.0004266/0.2048, allocations: 371.6 kB / 0.9032 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.2048, allocations: 12.03 kB / 0.9032 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.2049, allocations: 0.9375 kB / 0.9033 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.945e-05/0.205, allocations: 176.3 kB / 0.9034 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.205, allocations: 384 / 0.9034 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.205, allocations: 12.31 kB / 0.9034 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.2052, allocations: 74.22 kB / 0.9035 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.2052, allocations: 192 / 0.9035 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2053, allocations: 11.88 kB / 0.9035 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2053, allocations: 7.984 kB / 0.9035 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.2055, allocations: 79.94 kB / 0.9036 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.2058, allocations: 261 kB / 0.9038 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.206, allocations: 74.47 kB / 0.9039 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.2062, allocations: 48.92 kB / 0.904 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-06/0.2062, allocations: 3.938 kB / 0.904 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.2062, allocations: 34.56 kB / 0.904 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2062, allocations: 4 kB / 0.904 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004876/0.2067, allocations: 165.5 kB / 0.9042 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.2067, allocations: 55.41 kB / 0.9042 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.708e-05/0.2068, allocations: 105.8 kB / 0.9043 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.2068, allocations: 29.7 kB / 0.9043 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.742e-05/0.2069, allocations: 88.08 kB / 0.9044 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.2069, allocations: 7.891 kB / 0.9044 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.2069, allocations: 0 / 0.9044 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.367e-05/0.2069, allocations: 318.8 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.2071, allocations: 39.97 kB / 0.9048 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.2072, allocations: 48.08 kB / 0.9048 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.2075, allocations: 96.86 kB / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2075, allocations: 3.938 kB / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002862/0.2078, allocations: 129.5 kB / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2078, allocations: 4 kB / 0.905 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.2078, allocations: 3.938 kB / 0.9051 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2078, allocations: 0 / 0.9051 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.2079, allocations: 19.98 kB / 0.9051 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.2079, allocations: 0 / 0.9051 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.318e-05/0.208, allocations: 19.98 kB / 0.9051 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.208, allocations: 3.984 kB / 0.9051 GB, free: 59.59 MB / 0.6042 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.024e-05/0.2081, allocations: 117.7 kB / 0.9052 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.2081, allocations: 4 kB / 0.9052 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.2081, allocations: 7.906 kB / 0.9052 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2082, allocations: 0 / 0.9052 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2082, allocations: 4 kB / 0.9052 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2082, allocations: 0 / 0.9052 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.2083, allocations: 173.6 kB / 0.9054 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2083, allocations: 0 / 0.9054 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.363e-05/0.2084, allocations: 19.98 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.2084, allocations: 0 / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.2084, allocations: 3.938 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.45e-05/0.2085, allocations: 0 / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2085, allocations: 4 kB / 0.9054 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.2088, allocations: 219.3 kB / 0.9056 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.2088, allocations: 85.09 kB / 0.9057 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.2088, allocations: 3.938 kB / 0.9057 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.2089, allocations: 15.98 kB / 0.9057 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.209, allocations: 3.984 kB / 0.9057 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.209, allocations: 8 kB / 0.9057 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.376e-05/0.209, allocations: 83.28 kB / 0.9058 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.209, allocations: 0 / 0.9058 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001906/0.2092, allocations: 8 kB / 0.9058 GB, free: 58.74 MB / 0.6042 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.0001104/0.2093, allocations: 99.25 kB / 0.9059 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003204/0.2097, allocations: 91.92 kB / 0.906 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2097, allocations: 0 / 0.906 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.2098, allocations: 55.89 kB / 0.9061 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.2101, allocations: 4.922 kB / 0.9061 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.2104, allocations: 174.1 kB / 0.9062 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.585e-05/0.2105, allocations: 0.6848 MB / 0.9069 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.2105, allocations: 7.438 kB / 0.9069 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.2105, allocations: 0 / 0.9069 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of Templates: time 0.001648/0.2122, allocations: 0.7483 MB / 0.9076 GB, free: 56.83 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)