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.Add.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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.641/1.641, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.651/1.651, allocations: 251.7 MB / 0.5092 GB, free: 3.035 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.001888/0.001888, allocations: 71.89 kB / 0.6223 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6008/0.6027, allocations: 104.7 MB / 0.7245 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.002946/0.6057, allocations: 1.424 MB / 0.7259 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003237/0.606, allocations: 131.4 kB / 0.726 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.606e-05/0.6061, allocations: 0 / 0.726 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.855e-05/0.6061, allocations: 3.938 kB / 0.7261 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.222e-05/0.6062, allocations: 11.86 kB / 0.7261 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.936e-05/0.6062, allocations: 7.984 kB / 0.7261 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.395e-05/0.6063, allocations: 47.86 kB / 0.7261 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.6065, allocations: 15.98 kB / 0.7261 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.456e-05/0.6065, allocations: 19.92 kB / 0.7262 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.385e-05/0.6066, allocations: 23.86 kB / 0.7262 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.6066, allocations: 4 kB / 0.7262 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.6066, allocations: 4 kB / 0.7262 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.6066, allocations: 11.98 kB / 0.7262 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.6067, allocations: 19.86 kB / 0.7262 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.061e-05/0.6068, allocations: 43.86 kB / 0.7263 GB, free: 11.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.6068, allocations: 0 / 0.7263 GB, free: 11.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.232e-06/0.6068, allocations: 0 / 0.7263 GB, free: 11.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.6068, allocations: 7.938 kB / 0.7263 GB, free: 11.15 MB / 0.545 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.0005541/0.6073, allocations: 361.3 kB / 0.7266 GB, free: 10.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.6074, allocations: 12.03 kB / 0.7266 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.6074, allocations: 8.828 kB / 0.7266 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.6076, allocations: 168.3 kB / 0.7268 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.6076, allocations: 8.312 kB / 0.7268 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.6076, allocations: 4.375 kB / 0.7268 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.6079, allocations: 70.22 kB / 0.7269 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.6079, allocations: 192 / 0.7269 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.6079, allocations: 3.938 kB / 0.7269 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.6079, allocations: 3.938 kB / 0.7269 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/0.6082, allocations: 63.92 kB / 0.7269 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.6086, allocations: 276.9 kB / 0.7272 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.6088, allocations: 58.47 kB / 0.7273 GB, free: 9.984 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.6089, allocations: 44.92 kB / 0.7273 GB, free: 9.938 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.609, allocations: 0 / 0.7273 GB, free: 9.938 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.609, allocations: 38.48 kB / 0.7273 GB, free: 9.891 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.609, allocations: 0 / 0.7273 GB, free: 9.891 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005213/0.6095, allocations: 129.7 kB / 0.7275 GB, free: 9.758 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.6096, allocations: 55.41 kB / 0.7275 GB, free: 9.691 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.793e-05/0.6097, allocations: 113.8 kB / 0.7276 GB, free: 9.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.6097, allocations: 25.7 kB / 0.7276 GB, free: 9.539 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.6098, allocations: 92.12 kB / 0.7277 GB, free: 9.445 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.6098, allocations: 7.891 kB / 0.7277 GB, free: 9.438 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.6098, allocations: 17.72 kB / 0.7278 GB, free: 9.414 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.61, allocations: 314.8 kB / 0.7281 GB, free: 9.098 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.6101, allocations: 35.91 kB / 0.7281 GB, free: 9.062 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.6103, allocations: 39.94 kB / 0.7281 GB, free: 9.023 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.6105, allocations: 68.73 kB / 0.7282 GB, free: 8.953 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6106, allocations: 4 kB / 0.7282 GB, free: 8.949 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003127/0.6109, allocations: 105.5 kB / 0.7283 GB, free: 8.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.6109, allocations: 7.984 kB / 0.7283 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.6109, allocations: 0 / 0.7283 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.6109, allocations: 0 / 0.7283 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.6111, allocations: 15.98 kB / 0.7283 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.6111, allocations: 3.938 kB / 0.7283 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.124e-05/0.6112, allocations: 15.98 kB / 0.7283 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.6112, allocations: 4.312 kB / 0.7283 GB, free: 8.793 MB / 0.545 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 8.032e-05/0.6113, allocations: 113.8 kB / 0.7285 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.6113, allocations: 4 kB / 0.7285 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.6113, allocations: 7.891 kB / 0.7285 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.6114, allocations: 3.938 kB / 0.7285 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6114, allocations: 4 kB / 0.7285 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.6114, allocations: 0 / 0.7285 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.6116, allocations: 173.6 kB / 0.7286 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.6116, allocations: 0 / 0.7286 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.344e-05/0.6117, allocations: 19.97 kB / 0.7287 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.6117, allocations: 4 kB / 0.7287 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.6117, allocations: 0 / 0.7287 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.6117, allocations: 0 / 0.7287 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6117, allocations: 0 / 0.7287 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.612, allocations: 195.3 kB / 0.7288 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.6121, allocations: 89.03 kB / 0.7289 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.6121, allocations: 4 kB / 0.7289 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.6122, allocations: 11.98 kB / 0.7289 GB, free: 8.074 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.6123, allocations: 0 / 0.7289 GB, free: 8.074 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.6123, allocations: 0 / 0.7289 GB, free: 8.074 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.014e-05/0.6123, allocations: 95.27 kB / 0.729 GB, free: 7.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6123, allocations: 0 / 0.729 GB, free: 7.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002078/0.6126, allocations: 11.94 kB / 0.729 GB, free: 7.969 MB / 0.545 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.0001538/0.6127, allocations: 99.25 kB / 0.7291 GB, free: 7.863 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003303/0.6131, allocations: 71.92 kB / 0.7292 GB, free: 7.793 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.6131, allocations: 4 kB / 0.7292 GB, free: 7.789 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.6132, allocations: 43.89 kB / 0.7293 GB, free: 7.746 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.6136, allocations: 11.2 kB / 0.7293 GB, free: 7.738 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.6139, allocations: 133.4 kB / 0.7294 GB, free: 7.582 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.6142, allocations: 0.6846 MB / 0.7301 GB, free: 6.871 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.315e-05/0.6142, allocations: 3.859 kB / 0.7301 GB, free: 6.867 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.6143, allocations: 11.44 kB / 0.7301 GB, free: 6.855 MB / 0.545 GB Notification: Performance of SimCode: time 2.575e-06/0.6143, allocations: 0 / 0.7301 GB, free: 6.855 MB / 0.545 GB Notification: Performance of Templates: time 0.002752/0.617, allocations: 0.7048 MB / 0.7308 GB, free: 6.156 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)