Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.226/2.226, allocations: 251.1 MB / 266.7 MB, free: 11.54 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.001491/0.001491, allocations: 176.1 kB / 326.2 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.398/2.398, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.0009239/0.0009235, allocations: 86.55 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006575/0.0006577, allocations: 14.41 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2385, allocations: 106.3 MB / 0.8995 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2364/0.4751, allocations: 131.2 MB / 1.028 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/0.4755, allocations: 79.95 kB / 1.028 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004287/0.4798, allocations: 0.8292 MB / 1.029 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.765e-06/0.4798, allocations: 0 / 1.029 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.4799, allocations: 4 kB / 1.029 GB, free: 13.18 MB / 0.6823 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.000768/0.4806, allocations: 370.8 kB / 1.029 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.4807, allocations: 12.03 kB / 1.029 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.4808, allocations: 4.844 kB / 1.029 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.481, allocations: 168.3 kB / 1.029 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.481, allocations: 4.375 kB / 1.029 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.481, allocations: 12.31 kB / 1.029 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005358/0.4816, allocations: 74.2 kB / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4816, allocations: 192 / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.4816, allocations: 11.94 kB / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.4817, allocations: 4 kB / 1.029 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007176/0.4824, allocations: 87.86 kB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009303/0.4833, allocations: 300.8 kB / 1.03 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/0.4838, allocations: 70.42 kB / 1.03 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003809/0.4842, allocations: 52.91 kB / 1.03 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.4843, allocations: 0 / 1.03 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.4843, allocations: 42.5 kB / 1.03 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 2.425e-06/0.4843, allocations: 0 / 1.03 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.001275/0.4856, allocations: 169.6 kB / 1.03 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.4857, allocations: 51.41 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.4858, allocations: 109.8 kB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.4859, allocations: 25.7 kB / 1.03 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.088e-05/0.486, allocations: 88.14 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.486, allocations: 7.812 kB / 1.03 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.486, allocations: 0 / 1.03 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4862, allocations: 322.8 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.4866, allocations: 39.97 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.487, allocations: 51.89 kB / 1.031 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.4874, allocations: 39.97 kB / 1.031 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/0.4874, allocations: 3.938 kB / 1.031 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008112/0.4882, allocations: 117.6 kB / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.4883, allocations: 4 kB / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4883, allocations: 4 kB / 1.031 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.4883, allocations: 0 / 1.031 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.4886, allocations: 23.97 kB / 1.031 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.4886, allocations: 0 / 1.031 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.4889, allocations: 15.98 kB / 1.031 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.4889, allocations: 4 kB / 1.031 GB, free: 10.72 MB / 0.6823 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 0.0001446/0.4891, allocations: 117.8 kB / 1.031 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.4891, allocations: 7.906 kB / 1.031 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009117/0.4901, allocations: 133.4 kB / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.4901, allocations: 0 / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4901, allocations: 3.938 kB / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.4901, allocations: 3.984 kB / 1.031 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.4905, allocations: 169.6 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.4905, allocations: 4 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.4908, allocations: 19.98 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.4908, allocations: 0 / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.4908, allocations: 4 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.4908, allocations: 0 / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4908, allocations: 0 / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008597/0.4917, allocations: 223.3 kB / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.076e-05/0.4918, allocations: 81.02 kB / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.4918, allocations: 4 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.4921, allocations: 15.98 kB / 1.031 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.4922, allocations: 11.92 kB / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.4922, allocations: 0 / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.725e-05/0.4923, allocations: 91.58 kB / 1.032 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4923, allocations: 0 / 1.032 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004934/0.4928, allocations: 4 kB / 1.032 GB, free: 9.734 MB / 0.6823 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.0001967/0.4931, allocations: 103.2 kB / 1.032 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.4941, allocations: 87.92 kB / 1.032 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.4942, allocations: 0 / 1.032 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005112/0.4947, allocations: 56.41 kB / 1.032 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/0.4953, allocations: 11.94 kB / 1.032 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.4959, allocations: 132.6 kB / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.4963, allocations: 0.6809 MB / 1.033 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.347e-05/0.4964, allocations: 3.938 kB / 1.033 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.604e-05/0.4965, allocations: 15.44 kB / 1.033 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of SimCode: time 1.512e-06/0.4965, allocations: 0 / 1.033 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of Templates: time 0.005/0.5015, allocations: 0.5288 MB / 1.033 GB, free: 8.066 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)