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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01065/0.01065, allocations: 103.9 kB / 15.73 MB, free: 6.473 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.001275/0.001275, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.669/1.669, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.704/1.704, allocations: 251.7 MB / 0.5094 GB, free: 3.129 MB / 414.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.001423/0.001423, allocations: 71.91 kB / 0.7258 GB, free: 8.953 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.269, allocations: 104.7 MB / 0.8281 GB, free: 148 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.004511/0.2736, allocations: 1.412 MB / 0.8295 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004652/0.2741, allocations: 124.9 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.387e-05/0.2742, allocations: 4 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.328e-05/0.2742, allocations: 3.938 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.512e-05/0.2744, allocations: 7.922 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 8.11e-05/0.2745, allocations: 7.984 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.2746, allocations: 43.86 kB / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.2748, allocations: 11.98 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.2749, allocations: 19.92 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.022e-05/0.275, allocations: 27.91 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.275, allocations: 0 / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.2751, allocations: 7.938 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.051e-05/0.2751, allocations: 11.98 kB / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.2752, allocations: 11.94 kB / 0.8298 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.2753, allocations: 47.75 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.2753, allocations: 4 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.616e-06/0.2753, allocations: 0 / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.2753, allocations: 0 / 0.8298 GB, free: 14.39 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.0006903/0.276, allocations: 367.3 kB / 0.8302 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.2761, allocations: 8.031 kB / 0.8302 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.2761, allocations: 4.938 kB / 0.8302 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.2763, allocations: 168.2 kB / 0.8303 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.2764, allocations: 8.375 kB / 0.8303 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.2764, allocations: 384 / 0.8303 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.2767, allocations: 74.14 kB / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2767, allocations: 192 / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.2767, allocations: 7.938 kB / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.2767, allocations: 4 kB / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.2771, allocations: 59.92 kB / 0.8305 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.2775, allocations: 261 kB / 0.8307 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.2778, allocations: 70.41 kB / 0.8308 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.278, allocations: 32.92 kB / 0.8308 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.278, allocations: 0 / 0.8308 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.278, allocations: 38.55 kB / 0.8309 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.278, allocations: 0 / 0.8309 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.000609/0.2786, allocations: 133.5 kB / 0.831 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.2787, allocations: 51.41 kB / 0.831 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.2788, allocations: 105.8 kB / 0.8311 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.2789, allocations: 25.7 kB / 0.8312 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.2789, allocations: 100.1 kB / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.279, allocations: 7.844 kB / 0.8313 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.279, allocations: 13.72 kB / 0.8313 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2792, allocations: 314.8 kB / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.2794, allocations: 35.95 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.2795, allocations: 27.97 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.2798, allocations: 72.78 kB / 0.8317 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.2798, allocations: 7.875 kB / 0.8317 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003501/0.2802, allocations: 97.86 kB / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.2802, allocations: 6.812 kB / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2802, allocations: 4 kB / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.2802, allocations: 0 / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.2804, allocations: 23.91 kB / 0.8318 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.2804, allocations: 0 / 0.8318 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.804e-05/0.2805, allocations: 7.984 kB / 0.8318 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.2805, allocations: 7.984 kB / 0.8319 GB, free: 12.06 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 9.866e-05/0.2806, allocations: 113.8 kB / 0.832 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.2806, allocations: 8 kB / 0.832 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.2807, allocations: 7.906 kB / 0.832 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.2807, allocations: 0 / 0.832 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.2807, allocations: 4 kB / 0.832 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2807, allocations: 7.922 kB / 0.832 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.2809, allocations: 169.5 kB / 0.8322 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2809, allocations: 0 / 0.8322 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.281, allocations: 15.98 kB / 0.8322 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.281, allocations: 0 / 0.8322 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.2811, allocations: 4 kB / 0.8322 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2811, allocations: 4 kB / 0.8322 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2811, allocations: 0 / 0.8322 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.2815, allocations: 199.3 kB / 0.8324 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.2816, allocations: 77.11 kB / 0.8324 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.2816, allocations: 0 / 0.8324 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.2817, allocations: 19.98 kB / 0.8325 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.2817, allocations: 3.984 kB / 0.8325 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.2818, allocations: 4 kB / 0.8325 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.097e-05/0.2818, allocations: 83.59 kB / 0.8325 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2818, allocations: 0 / 0.8325 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002203/0.2821, allocations: 11.91 kB / 0.8326 GB, free: 11.24 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 0.0001978/0.2823, allocations: 99.23 kB / 0.8327 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003737/0.2826, allocations: 71.92 kB / 0.8327 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2827, allocations: 0 / 0.8327 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.2828, allocations: 35.91 kB / 0.8328 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.2832, allocations: 20.09 kB / 0.8328 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.2837, allocations: 128.7 kB / 0.8329 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.2841, allocations: 0.6883 MB / 0.8336 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.942e-05/0.2841, allocations: 0 / 0.8336 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.2842, allocations: 11.44 kB / 0.8336 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of SimCode: time 3.61e-07/0.2842, allocations: 0 / 0.8336 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of Templates: time 0.003241/0.2874, allocations: 0.6928 MB / 0.8343 GB, free: 9.453 MB / 0.6544 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)