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.Cos.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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001887/0.001887, allocations: 190.8 kB / 16.14 MB, free: 6.703 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.761/1.761, allocations: 205.1 MB / 222 MB, free: 4.973 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.684/1.684, allocations: 251.7 MB / 0.5088 GB, free: 3.367 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.001447/0.001447, allocations: 67.91 kB / 0.6216 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7806/0.782, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.004321/0.7864, allocations: 1.429 MB / 0.7252 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004619/0.7869, allocations: 136.5 kB / 0.7254 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.987e-05/0.787, allocations: 4 kB / 0.7254 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.183e-05/0.7871, allocations: 3.938 kB / 0.7254 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.568e-05/0.7872, allocations: 0 / 0.7254 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.7874, allocations: 7.984 kB / 0.7254 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.563e-05/0.7875, allocations: 19.94 kB / 0.7254 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.7877, allocations: 7.984 kB / 0.7254 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.339e-05/0.7878, allocations: 7.938 kB / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.7879, allocations: 15.92 kB / 0.7254 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.7879, allocations: 0 / 0.7254 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.598e-05/0.7879, allocations: 8 kB / 0.7254 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.7879, allocations: 0 / 0.7254 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.788, allocations: 11.92 kB / 0.7254 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.7881, allocations: 15.97 kB / 0.7255 GB, free: 11.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.7881, allocations: 0 / 0.7255 GB, free: 11.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7881, allocations: 0 / 0.7255 GB, free: 11.49 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.7882, allocations: 0 / 0.7255 GB, free: 11.49 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005938/0.7888, allocations: 341.5 kB / 0.7258 GB, free: 11.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.7888, allocations: 12.02 kB / 0.7258 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.7889, allocations: 8.844 kB / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.7891, allocations: 168.3 kB / 0.726 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.7891, allocations: 384 / 0.726 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.7891, allocations: 384 / 0.726 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.7893, allocations: 50.23 kB / 0.726 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.7894, allocations: 4.125 kB / 0.726 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.7894, allocations: 3.938 kB / 0.726 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.7894, allocations: 0 / 0.726 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.7896, allocations: 39.95 kB / 0.7261 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.7901, allocations: 244.9 kB / 0.7263 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.7902, allocations: 42.44 kB / 0.7263 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.024e-05/0.7903, allocations: 24.91 kB / 0.7264 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.7904, allocations: 11.92 kB / 0.7264 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.7904, allocations: 30.56 kB / 0.7264 GB, free: 10.37 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.7904, allocations: 0 / 0.7264 GB, free: 10.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004075/0.7908, allocations: 77.64 kB / 0.7265 GB, free: 10.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.7909, allocations: 55.34 kB / 0.7265 GB, free: 10.22 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.669e-05/0.791, allocations: 102 kB / 0.7266 GB, free: 10.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.791, allocations: 25.7 kB / 0.7266 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.7911, allocations: 88.14 kB / 0.7267 GB, free: 9.988 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.7911, allocations: 7.891 kB / 0.7267 GB, free: 9.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.7912, allocations: 9.719 kB / 0.7267 GB, free: 9.965 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.7913, allocations: 318.8 kB / 0.727 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.9e-05/0.7914, allocations: 11.98 kB / 0.7271 GB, free: 9.633 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/0.7915, allocations: 15.98 kB / 0.7271 GB, free: 9.617 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.7916, allocations: 44.81 kB / 0.7271 GB, free: 9.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.7916, allocations: 0 / 0.7271 GB, free: 9.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002108/0.7919, allocations: 77.44 kB / 0.7272 GB, free: 9.488 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.7919, allocations: 4 kB / 0.7272 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.7919, allocations: 4.094 kB / 0.7272 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.7919, allocations: 0 / 0.7272 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.7921, allocations: 8 kB / 0.7272 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.7921, allocations: 0 / 0.7272 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.205e-05/0.7921, allocations: 7.984 kB / 0.7272 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.7922, allocations: 4 kB / 0.7272 GB, free: 9.461 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 (2): * Single equations (assignments): 2 * 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 0.000108/0.7923, allocations: 109.8 kB / 0.7273 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.7923, allocations: 4.188 kB / 0.7273 GB, free: 9.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.7926, allocations: 80.75 kB / 0.7274 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.7926, allocations: 0 / 0.7274 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7926, allocations: 0 / 0.7274 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.7926, allocations: 4 kB / 0.7274 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.7928, allocations: 161.5 kB / 0.7276 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7928, allocations: 3.938 kB / 0.7276 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.121e-05/0.7929, allocations: 7.984 kB / 0.7276 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7929, allocations: 0 / 0.7276 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.7929, allocations: 4.031 kB / 0.7276 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.7929, allocations: 4 kB / 0.7276 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7929, allocations: 0 / 0.7276 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.7932, allocations: 163.5 kB / 0.7277 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.7933, allocations: 77.11 kB / 0.7278 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.7933, allocations: 0 / 0.7278 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.7934, allocations: 12.02 kB / 0.7278 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.7934, allocations: 0 / 0.7278 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.7934, allocations: 0 / 0.7278 GB, free: 8.742 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.88e-05/0.7935, allocations: 91.2 kB / 0.7279 GB, free: 8.652 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7935, allocations: 0 / 0.7279 GB, free: 8.652 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002264/0.7937, allocations: 4 kB / 0.7279 GB, free: 8.648 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 (2): * Single equations (assignments): 2 * 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.0002045/0.794, allocations: 103.2 kB / 0.728 GB, free: 8.535 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002282/0.7942, allocations: 35.97 kB / 0.728 GB, free: 8.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7942, allocations: 0 / 0.728 GB, free: 8.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.633e-05/0.7943, allocations: 23.97 kB / 0.7281 GB, free: 8.477 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.7947, allocations: 11.88 kB / 0.7281 GB, free: 8.465 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004527/0.7952, allocations: 111.3 kB / 0.7282 GB, free: 8.332 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.7955, allocations: 0.6809 MB / 0.7288 GB, free: 7.625 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.219e-05/0.7955, allocations: 0 / 0.7288 GB, free: 7.625 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.7956, allocations: 7.438 kB / 0.7289 GB, free: 7.617 MB / 0.545 GB Notification: Performance of SimCode: time 2.615e-06/0.7956, allocations: 0 / 0.7289 GB, free: 7.617 MB / 0.545 GB Notification: Performance of Templates: time 0.003261/0.7988, allocations: 373.2 kB / 0.7292 GB, free: 7.258 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)