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.51/1.51, allocations: 252 MB / 267.6 MB, free: 10.92 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.00108/0.00108, allocations: 185.8 kB / 327.3 MB, free: 2.203 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.686/1.686, allocations: 205.4 MB / 0.5783 GB, free: 20.24 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.0007515/0.0007514, allocations: 85.36 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.000331, allocations: 11.97 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2255, allocations: 106.3 MB / 0.9009 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001438/0.227, allocations: 1.132 MB / 0.902 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002743/0.2273, allocations: 113.8 kB / 0.9021 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.2273, allocations: 3.938 kB / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.2274, allocations: 3.938 kB / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.096e-05/0.2274, allocations: 11.92 kB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.244e-05/0.2275, allocations: 4 kB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.554e-05/0.2276, allocations: 35.91 kB / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.344e-05/0.2277, allocations: 11.98 kB / 0.9021 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.791e-05/0.2277, allocations: 15.92 kB / 0.9021 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.148e-05/0.2278, allocations: 19.92 kB / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.2278, allocations: 4 kB / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-06/0.2278, allocations: 0 / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.2278, allocations: 7.984 kB / 0.9022 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.2279, allocations: 33.64 kB / 0.9022 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.95e-05/0.2279, allocations: 35.86 kB / 0.9022 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.228, allocations: 4 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.228, allocations: 0 / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.228, allocations: 0 / 0.9022 GB, free: 62.43 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.0004529/0.2284, allocations: 371.4 kB / 0.9026 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2285, allocations: 8.031 kB / 0.9026 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.2285, allocations: 3.984 kB / 0.9026 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.2286, allocations: 167 kB / 0.9028 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.2286, allocations: 0 / 0.9028 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.2287, allocations: 4 kB / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.2289, allocations: 77.66 kB / 0.9029 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.2289, allocations: 7.938 kB / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2289, allocations: 0 / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.229, allocations: 0 / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002757/0.2292, allocations: 83.92 kB / 0.9029 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.2295, allocations: 276.8 kB / 0.9032 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.2297, allocations: 62.53 kB / 0.9033 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.2299, allocations: 56.86 kB / 0.9033 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.2299, allocations: 0 / 0.9033 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.2299, allocations: 38.56 kB / 0.9034 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.23, allocations: 0 / 0.9034 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005021/0.2305, allocations: 161.6 kB / 0.9035 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.2305, allocations: 51.41 kB / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.957e-05/0.2306, allocations: 109.8 kB / 0.9037 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.2306, allocations: 29.7 kB / 0.9037 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.867e-05/0.2306, allocations: 91.98 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.2306, allocations: 7.906 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.2306, allocations: 0 / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.043e-05/0.2307, allocations: 322.8 kB / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.2308, allocations: 39.91 kB / 0.9041 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.231, allocations: 51.89 kB / 0.9042 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.2311, allocations: 43.97 kB / 0.9042 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2311, allocations: 0 / 0.9042 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002946/0.2314, allocations: 117.6 kB / 0.9043 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2314, allocations: 6.969 kB / 0.9043 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.2314, allocations: 0 / 0.9043 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2315, allocations: 3.938 kB / 0.9043 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.2316, allocations: 23.97 kB / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.2316, allocations: 0 / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.942e-05/0.2317, allocations: 23.98 kB / 0.9044 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.2317, allocations: 3.953 kB / 0.9044 GB, free: 60.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.535e-05/0.2318, allocations: 113.8 kB / 0.9045 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.2318, allocations: 7.844 kB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.213e-05/0.2318, allocations: 7.906 kB / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2318, allocations: 0 / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2318, allocations: 3.984 kB / 0.9045 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2318, allocations: 336 / 0.9045 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.232, allocations: 177.6 kB / 0.9047 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.232, allocations: 0 / 0.9047 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.49e-05/0.2321, allocations: 19.98 kB / 0.9047 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2321, allocations: 3.984 kB / 0.9047 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.2321, allocations: 0 / 0.9047 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2321, allocations: 0 / 0.9047 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2321, allocations: 3.984 kB / 0.9047 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.2324, allocations: 219.4 kB / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.2325, allocations: 85.02 kB / 0.905 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.2325, allocations: 0 / 0.905 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.2327, allocations: 15.98 kB / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.2327, allocations: 7.984 kB / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.2327, allocations: 7.938 kB / 0.905 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.616e-05/0.2328, allocations: 83.27 kB / 0.9051 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2328, allocations: 4 kB / 0.9051 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001906/0.233, allocations: 12 kB / 0.9051 GB, free: 59.16 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 (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.0001001/0.2331, allocations: 95.25 kB / 0.9052 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003319/0.2334, allocations: 91.92 kB / 0.9053 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2334, allocations: 0 / 0.9053 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.2336, allocations: 43.97 kB / 0.9054 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.2338, allocations: 11.94 kB / 0.9054 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.2341, allocations: 170.1 kB / 0.9055 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.2342, allocations: 0.6887 MB / 0.9062 GB, free: 58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.2342, allocations: 7.438 kB / 0.9062 GB, free: 58 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2343, allocations: 0 / 0.9062 GB, free: 58 MB / 0.6042 GB Notification: Performance of Templates: time 0.001785/0.236, allocations: 0.7328 MB / 0.9069 GB, free: 57.27 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)