Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001398/0.001398, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.643/1.643, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.619/1.619, allocations: 251.7 MB / 0.5089 GB, free: 3.25 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.001478/0.001478, allocations: 71.89 kB / 0.6218 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6774/0.6789, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002939/0.682, allocations: 0.6275 MB / 0.7246 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 6.599e-05/0.6821, allocations: 4 kB / 0.7246 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.097e-05/0.6821, allocations: 0 / 0.7246 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.591e-05/0.6822, allocations: 4 kB / 0.7246 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.585e-05/0.6822, allocations: 0 / 0.7246 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.359e-05/0.6823, allocations: 4 kB / 0.7246 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.239e-05/0.6824, allocations: 7.875 kB / 0.7246 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.415e-05/0.6825, allocations: 0 / 0.7246 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.348e-05/0.6825, allocations: 4 kB / 0.7246 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.969e-05/0.6826, allocations: 0 / 0.7246 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.6826, allocations: 0 / 0.7246 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.503e-06/0.6826, allocations: 0 / 0.7246 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.6826, allocations: 0 / 0.7246 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.6827, allocations: 0 / 0.7246 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.949e-05/0.6827, allocations: 11.98 kB / 0.7247 GB, free: 12.44 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.6828, allocations: 3.938 kB / 0.7247 GB, free: 12.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.796e-06/0.6828, allocations: 8 kB / 0.7247 GB, free: 12.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.6828, allocations: 0 / 0.7247 GB, free: 12.43 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005279/0.6833, allocations: 307.5 kB / 0.725 GB, free: 12.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.971e-05/0.6834, allocations: 16.05 kB / 0.725 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.6835, allocations: 0.9375 kB / 0.725 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.6837, allocations: 164.4 kB / 0.7251 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.6837, allocations: 384 / 0.7251 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.6837, allocations: 384 / 0.7251 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.6838, allocations: 38.27 kB / 0.7252 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.6839, allocations: 192 / 0.7252 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.6839, allocations: 3.938 kB / 0.7252 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.6839, allocations: 0 / 0.7252 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.513e-05/0.6839, allocations: 3.938 kB / 0.7252 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.6845, allocations: 379.5 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.6847, allocations: 177.1 kB / 0.7257 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.6847, allocations: 83 kB / 0.7258 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.569e-05/0.6848, allocations: 83.16 kB / 0.7259 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.6849, allocations: 105.8 kB / 0.726 GB, free: 10.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.6849, allocations: 0 / 0.726 GB, free: 10.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.000104/0.6851, allocations: 29.69 kB / 0.726 GB, free: 10.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.6852, allocations: 130.7 kB / 0.7261 GB, free: 10.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.6853, allocations: 97.86 kB / 0.7262 GB, free: 10.64 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.6853, allocations: 25.7 kB / 0.7262 GB, free: 10.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.6854, allocations: 84.14 kB / 0.7263 GB, free: 10.53 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-06/0.6854, allocations: 0 / 0.7263 GB, free: 10.53 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.6854, allocations: 9.719 kB / 0.7263 GB, free: 10.51 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002012/0.6857, allocations: 310.8 kB / 0.7266 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.6857, allocations: 128 / 0.7266 GB, free: 10.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.358e-06/0.6857, allocations: 7.938 kB / 0.7266 GB, free: 10.19 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.653e-05/0.6857, allocations: 79.28 kB / 0.7267 GB, free: 10.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.755e-05/0.6858, allocations: 79.27 kB / 0.7268 GB, free: 10.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.357e-05/0.6859, allocations: 33.64 kB / 0.7268 GB, free: 9.996 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.983e-05/0.6859, allocations: 79.28 kB / 0.7269 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-05/0.686, allocations: 79.28 kB / 0.727 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.6e-05/0.6861, allocations: 154.5 kB / 0.7271 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.548e-05/0.6861, allocations: 83.22 kB / 0.7272 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.765e-05/0.6862, allocations: 158.5 kB / 0.7273 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.046e-05/0.6863, allocations: 79.28 kB / 0.7274 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.6864, allocations: 79.27 kB / 0.7275 GB, free: 9.293 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 (0): * Single equations (assignments): 0 * 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.0002222/0.6866, allocations: 264.3 kB / 0.7278 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.976e-05/0.6867, allocations: 108.9 kB / 0.7279 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.626e-05/0.6868, allocations: 108.1 kB / 0.728 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001243/0.6869, allocations: 180.2 kB / 0.7281 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001057/0.687, allocations: 180.2 kB / 0.7283 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001157/0.6872, allocations: 184.3 kB / 0.7285 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.6875, allocations: 401.1 kB / 0.7289 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-05/0.6876, allocations: 109 kB / 0.729 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.378e-05/0.6877, allocations: 104.9 kB / 0.7291 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.17e-05/0.6878, allocations: 184.2 kB / 0.7292 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.725e-05/0.6879, allocations: 180.3 kB / 0.7294 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.815e-05/0.688, allocations: 184.2 kB / 0.7296 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.908e-05/0.688, allocations: 180.3 kB / 0.7298 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.6882, allocations: 316.1 kB / 0.7301 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.6883, allocations: 186 kB / 0.7302 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.6884, allocations: 180.3 kB / 0.7304 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.6886, allocations: 105 kB / 0.7305 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.6887, allocations: 184.2 kB / 0.7307 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.322e-05/0.6887, allocations: 105 kB / 0.7308 GB, free: 5.699 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.688e-05/0.6888, allocations: 83.22 kB / 0.7309 GB, free: 5.617 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6888, allocations: 0 / 0.7309 GB, free: 5.617 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003047/0.6891, allocations: 0 / 0.7309 GB, free: 5.617 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 (0): * Single equations (assignments): 0 * 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.0001971/0.6893, allocations: 178.5 kB / 0.731 GB, free: 5.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 4.914e-05/0.6893, allocations: 8.031 kB / 0.731 GB, free: 5.422 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6894, allocations: 0 / 0.731 GB, free: 5.422 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.562e-06/0.6894, allocations: 0 / 0.731 GB, free: 5.422 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.6898, allocations: 461.6 kB / 0.7315 GB, free: 4.969 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.6901, allocations: 156.1 kB / 0.7316 GB, free: 4.789 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.6905, allocations: 0.6729 MB / 0.7323 GB, free: 4.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.027e-05/0.6905, allocations: 0 / 0.7323 GB, free: 4.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.6905, allocations: 7.438 kB / 0.7323 GB, free: 4.082 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.6905, allocations: 7.938 kB / 0.7323 GB, free: 4.074 MB / 0.545 GB Notification: Performance of Templates: time 0.002518/0.693, allocations: 170.6 kB / 0.7325 GB, free: 3.91 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)