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.001038/0.001038, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001228/0.001228, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.712/1.712, allocations: 251.9 MB / 0.51 GB, free: 4.883 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.0006306/0.0006309, allocations: 19.44 kB / 0.6242 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7051/0.7057, allocations: 106.3 MB / 0.728 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001718/0.7075, allocations: 1.091 MB / 0.7291 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003362/0.7079, allocations: 111.2 kB / 0.7292 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/0.7079, allocations: 0 / 0.7292 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.7079, allocations: 7.922 kB / 0.7292 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.216e-05/0.708, allocations: 7.984 kB / 0.7292 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.7082, allocations: 8 kB / 0.7292 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.493e-05/0.7083, allocations: 11.98 kB / 0.7292 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.7084, allocations: 4 kB / 0.7292 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.126e-05/0.7085, allocations: 7.922 kB / 0.7292 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.131e-05/0.7085, allocations: 11.98 kB / 0.7292 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.7086, allocations: 0 / 0.7292 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.513e-05/0.7086, allocations: 4 kB / 0.7292 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.7086, allocations: 0 / 0.7292 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.7086, allocations: 29.7 kB / 0.7292 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.436e-05/0.7087, allocations: 19.91 kB / 0.7293 GB, free: 10.26 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.7087, allocations: 0 / 0.7293 GB, free: 10.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7087, allocations: 0 / 0.7293 GB, free: 10.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.7087, allocations: 0 / 0.7293 GB, free: 10.26 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.0005475/0.7093, allocations: 341.4 kB / 0.7296 GB, free: 9.879 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.7094, allocations: 8.031 kB / 0.7296 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.7094, allocations: 8 kB / 0.7296 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.7096, allocations: 171 kB / 0.7298 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.7096, allocations: 4 kB / 0.7298 GB, free: 9.652 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.7096, allocations: 4 kB / 0.7298 GB, free: 9.648 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.7098, allocations: 53.67 kB / 0.7298 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.7099, allocations: 0 / 0.7298 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.7099, allocations: 0 / 0.7298 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.7099, allocations: 0 / 0.7298 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.7101, allocations: 47.91 kB / 0.7299 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.7105, allocations: 256.8 kB / 0.7301 GB, free: 9.242 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.7106, allocations: 42.56 kB / 0.7302 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.7107, allocations: 0 / 0.7302 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.7107, allocations: 34.62 kB / 0.7302 GB, free: 9.148 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 2.554e-06/0.7107, allocations: 3.984 kB / 0.7302 GB, free: 9.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003884/0.7111, allocations: 101.6 kB / 0.7303 GB, free: 9.039 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.7112, allocations: 51.41 kB / 0.7303 GB, free: 8.977 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.031e-05/0.7113, allocations: 97.84 kB / 0.7304 GB, free: 8.871 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.7113, allocations: 29.7 kB / 0.7305 GB, free: 8.836 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.104e-05/0.7114, allocations: 92.2 kB / 0.7306 GB, free: 8.742 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.7114, allocations: 7.891 kB / 0.7306 GB, free: 8.734 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-06/0.7114, allocations: 0 / 0.7306 GB, free: 8.734 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.7116, allocations: 314.8 kB / 0.7309 GB, free: 8.418 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.866e-05/0.7117, allocations: 27.97 kB / 0.7309 GB, free: 8.391 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.265e-05/0.7118, allocations: 19.98 kB / 0.7309 GB, free: 8.371 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.063e-05/0.7119, allocations: 23.98 kB / 0.7309 GB, free: 8.348 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7119, allocations: 0 / 0.7309 GB, free: 8.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002258/0.7121, allocations: 81.66 kB / 0.731 GB, free: 8.262 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.7121, allocations: 5.875 kB / 0.731 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7122, allocations: 0 / 0.731 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.7122, allocations: 4 kB / 0.731 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.7123, allocations: 11.98 kB / 0.731 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.7123, allocations: 0 / 0.731 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.877e-05/0.7124, allocations: 8.031 kB / 0.731 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.7124, allocations: 4 kB / 0.731 GB, free: 8.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.057e-05/0.7125, allocations: 121.7 kB / 0.7312 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.7125, allocations: 0 / 0.7312 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.7128, allocations: 84.69 kB / 0.7312 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.7128, allocations: 3.938 kB / 0.7312 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7128, allocations: 0 / 0.7312 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.7128, allocations: 0 / 0.7312 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.713, allocations: 161.6 kB / 0.7314 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.713, allocations: 0 / 0.7314 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.843e-05/0.713, allocations: 11.98 kB / 0.7314 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.7131, allocations: 3.938 kB / 0.7314 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.7131, allocations: 4 kB / 0.7314 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.7131, allocations: 4.031 kB / 0.7314 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7131, allocations: 0 / 0.7314 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.7133, allocations: 175.5 kB / 0.7316 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.7134, allocations: 77.11 kB / 0.7317 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.7134, allocations: 3.984 kB / 0.7317 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/0.7135, allocations: 8 kB / 0.7317 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.7135, allocations: 7.984 kB / 0.7317 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.7135, allocations: 0 / 0.7317 GB, free: 7.477 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.951e-05/0.7136, allocations: 79.28 kB / 0.7318 GB, free: 7.398 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7136, allocations: 3.938 kB / 0.7318 GB, free: 7.395 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002081/0.7138, allocations: 4 kB / 0.7318 GB, free: 7.391 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 (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.0002111/0.714, allocations: 102.8 kB / 0.7319 GB, free: 7.281 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.7143, allocations: 47.95 kB / 0.7319 GB, free: 7.234 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.7143, allocations: 0 / 0.7319 GB, free: 7.234 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.513e-05/0.7144, allocations: 28.05 kB / 0.7319 GB, free: 7.207 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.7146, allocations: 10.7 kB / 0.7319 GB, free: 7.199 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002862/0.7149, allocations: 108.6 kB / 0.732 GB, free: 7.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.7152, allocations: 0.6809 MB / 0.7327 GB, free: 6.363 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.211e-05/0.7152, allocations: 8 kB / 0.7327 GB, free: 6.355 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.7153, allocations: 7.438 kB / 0.7327 GB, free: 6.348 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.7153, allocations: 0 / 0.7327 GB, free: 6.348 MB / 0.545 GB Notification: Performance of Templates: time 0.002637/0.7179, allocations: 361.9 kB / 0.7331 GB, free: 5.996 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: