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.0009772/0.0009772, allocations: 99.86 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.002075/0.002075, 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.731/1.731, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.668/1.668, allocations: 251.9 MB / 0.51 GB, free: 4.828 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.0005567/0.0005568, allocations: 23.12 kB / 0.6242 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5813/0.5819, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0008347/0.5828, allocations: 277.3 kB / 0.7283 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 4.606e-05/0.5828, allocations: 4 kB / 0.7283 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.671e-05/0.5829, allocations: 4 kB / 0.7283 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/0.5829, allocations: 3.938 kB / 0.7283 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.051e-05/0.5829, allocations: 0 / 0.7283 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.617e-05/0.583, allocations: 3.984 kB / 0.7283 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.058e-05/0.5831, allocations: 0 / 0.7283 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.19e-05/0.5831, allocations: 0 / 0.7283 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.073e-05/0.5832, allocations: 0 / 0.7283 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.372e-05/0.5832, allocations: 7.938 kB / 0.7283 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.5832, allocations: 3.938 kB / 0.7283 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.508e-06/0.5832, allocations: 0 / 0.7283 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.5832, allocations: 3.984 kB / 0.7283 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.5833, allocations: 33.7 kB / 0.7283 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 4.578e-05/0.5833, allocations: 0 / 0.7283 GB, free: 11.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5833, allocations: 0 / 0.7283 GB, free: 11.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.284e-06/0.5834, allocations: 0 / 0.7283 GB, free: 11.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.5834, allocations: 0 / 0.7283 GB, free: 11.09 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.0003227/0.5837, allocations: 315.3 kB / 0.7286 GB, free: 10.74 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.5837, allocations: 8.031 kB / 0.7286 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.5838, allocations: 0 / 0.7286 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.584, allocations: 167 kB / 0.7288 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.584, allocations: 8 kB / 0.7288 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-06/0.584, allocations: 0 / 0.7288 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.144e-05/0.5841, allocations: 25.7 kB / 0.7288 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.5841, allocations: 0 / 0.7288 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.5841, allocations: 0 / 0.7288 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5841, allocations: 0 / 0.7288 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.236e-05/0.5842, allocations: 11.98 kB / 0.7288 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.5846, allocations: 382.1 kB / 0.7292 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.5847, allocations: 177.1 kB / 0.7294 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.5848, allocations: 75.28 kB / 0.7294 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.5848, allocations: 109.8 kB / 0.7295 GB, free: 9.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.5848, allocations: 0 / 0.7295 GB, free: 9.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.757e-05/0.5849, allocations: 29.7 kB / 0.7296 GB, free: 9.645 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.585, allocations: 134.6 kB / 0.7297 GB, free: 9.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.143e-05/0.5851, allocations: 93.86 kB / 0.7298 GB, free: 9.398 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.5851, allocations: 29.7 kB / 0.7298 GB, free: 9.363 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.5851, allocations: 80.14 kB / 0.7299 GB, free: 9.281 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.5851, allocations: 0 / 0.7299 GB, free: 9.281 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.5851, allocations: 0 / 0.7299 GB, free: 9.281 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.5852, allocations: 318.8 kB / 0.7302 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-06/0.5852, allocations: 128 / 0.7302 GB, free: 8.961 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-06/0.5853, allocations: 6.859 kB / 0.7302 GB, free: 8.957 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.503e-05/0.5853, allocations: 75.28 kB / 0.7303 GB, free: 8.883 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-05/0.5853, allocations: 75.28 kB / 0.7304 GB, free: 8.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.167e-05/0.5854, allocations: 33.64 kB / 0.7304 GB, free: 8.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.5854, allocations: 79.28 kB / 0.7305 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/0.5854, allocations: 83.22 kB / 0.7305 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.116e-05/0.5855, allocations: 154.6 kB / 0.7307 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.424e-05/0.5855, allocations: 83.22 kB / 0.7308 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-05/0.5856, allocations: 158.5 kB / 0.7309 GB, free: 8.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.578e-05/0.5857, allocations: 79.28 kB / 0.731 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.5858, allocations: 83.25 kB / 0.7311 GB, free: 8.059 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.5859, allocations: 260.4 kB / 0.7313 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.586, allocations: 109 kB / 0.7314 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.586, allocations: 112 kB / 0.7315 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.731e-05/0.5861, allocations: 180.2 kB / 0.7317 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.132e-05/0.5862, allocations: 176.3 kB / 0.7319 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.541e-05/0.5863, allocations: 180.2 kB / 0.732 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.5865, allocations: 409.2 kB / 0.7324 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.145e-05/0.5866, allocations: 108.9 kB / 0.7325 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.5866, allocations: 101 kB / 0.7326 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.88e-05/0.5867, allocations: 180.3 kB / 0.7328 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.609e-05/0.5868, allocations: 180.2 kB / 0.733 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.759e-05/0.5868, allocations: 176.3 kB / 0.7331 GB, free: 5.793 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.64e-05/0.5869, allocations: 192.2 kB / 0.7333 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.5871, allocations: 307.7 kB / 0.7336 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.646e-05/0.5871, allocations: 182.5 kB / 0.7338 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.79e-05/0.5872, allocations: 188.2 kB / 0.734 GB, free: 4.879 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.293e-05/0.5873, allocations: 104.9 kB / 0.7341 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.263e-05/0.5874, allocations: 180.3 kB / 0.7342 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.5875, allocations: 112.9 kB / 0.7344 GB, free: 4.469 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.766e-05/0.5875, allocations: 75.28 kB / 0.7344 GB, free: 4.395 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5875, allocations: 0 / 0.7344 GB, free: 4.395 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002687/0.5878, allocations: 0 / 0.7344 GB, free: 4.395 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 (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.0001716/0.588, allocations: 178.6 kB / 0.7346 GB, free: 4.207 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 3.781e-05/0.588, allocations: 8 kB / 0.7346 GB, free: 4.199 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.588, allocations: 0 / 0.7346 GB, free: 4.199 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-06/0.588, allocations: 0 / 0.7346 GB, free: 4.199 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.5884, allocations: 0.5234 MB / 0.7351 GB, free: 3.676 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002085/0.5886, allocations: 161.9 kB / 0.7353 GB, free: 3.488 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.5888, allocations: 0.6731 MB / 0.7359 GB, free: 2.789 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.699e-06/0.5888, allocations: 0 / 0.7359 GB, free: 2.789 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.504e-05/0.5888, allocations: 7.438 kB / 0.7359 GB, free: 2.781 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.5888, allocations: 0 / 0.7359 GB, free: 2.781 MB / 0.545 GB Notification: Performance of Templates: time 0.001963/0.5908, allocations: 158.1 kB / 0.7361 GB, free: 2.629 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: