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.Pulse.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.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 100.1 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.001062/0.001062, 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.763/1.763, 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.7/1.7, allocations: 251.9 MB / 0.51 GB, free: 4.891 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.0005836/0.0005837, allocations: 12 kB / 0.6242 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6694/0.67, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.00158/0.6716, allocations: 0.9969 MB / 0.729 GB, free: 10.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004302/0.6721, allocations: 177.9 kB / 0.7291 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.955e-05/0.6721, allocations: 0 / 0.7291 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.6721, allocations: 3.984 kB / 0.7291 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.429e-05/0.6722, allocations: 4 kB / 0.7291 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.6724, allocations: 11.94 kB / 0.7292 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.44e-05/0.6724, allocations: 15.97 kB / 0.7292 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.94e-05/0.6725, allocations: 7.984 kB / 0.7292 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.326e-05/0.6726, allocations: 11.94 kB / 0.7292 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.668e-05/0.6726, allocations: 7.922 kB / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.6727, allocations: 7.938 kB / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.6727, allocations: 0 / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.6727, allocations: 0 / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.6727, allocations: 33.7 kB / 0.7292 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.451e-05/0.6728, allocations: 7.969 kB / 0.7292 GB, free: 10.15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6728, allocations: 8 kB / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.878e-06/0.6728, allocations: 0 / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.6728, allocations: 0 / 0.7293 GB, free: 10.14 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005828/0.6734, allocations: 337.3 kB / 0.7296 GB, free: 9.766 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.6735, allocations: 12.03 kB / 0.7296 GB, free: 9.754 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.6735, allocations: 0 / 0.7296 GB, free: 9.754 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.6737, allocations: 171 kB / 0.7297 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.6737, allocations: 7.938 kB / 0.7298 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.6738, allocations: 0 / 0.7298 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.983e-05/0.6739, allocations: 41.67 kB / 0.7298 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.6739, allocations: 0 / 0.7298 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.6739, allocations: 0 / 0.7298 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.6739, allocations: 0 / 0.7298 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.87e-05/0.674, allocations: 4 kB / 0.7298 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.6742, allocations: 165.5 kB / 0.73 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.428e-05/0.6743, allocations: 34.55 kB / 0.73 GB, free: 9.234 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.6743, allocations: 0 / 0.73 GB, free: 9.234 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.6745, allocations: 55.47 kB / 0.73 GB, free: 9.168 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.6745, allocations: 0 / 0.73 GB, free: 9.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002447/0.6747, allocations: 53.69 kB / 0.7301 GB, free: 9.109 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.6748, allocations: 51.41 kB / 0.7301 GB, free: 9.047 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.6749, allocations: 109.8 kB / 0.7302 GB, free: 8.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.6749, allocations: 29.7 kB / 0.7303 GB, free: 8.895 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.675, allocations: 84.12 kB / 0.7304 GB, free: 8.809 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.675, allocations: 3.906 kB / 0.7304 GB, free: 8.805 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.675, allocations: 4 kB / 0.7304 GB, free: 8.801 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6752, allocations: 318.8 kB / 0.7307 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.6752, allocations: 4 kB / 0.7307 GB, free: 8.477 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.794e-05/0.6752, allocations: 17.72 kB / 0.7307 GB, free: 8.453 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.476e-05/0.6752, allocations: 15.95 kB / 0.7307 GB, free: 8.438 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6753, allocations: 0 / 0.7307 GB, free: 8.438 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.554e-05/0.6753, allocations: 53.56 kB / 0.7308 GB, free: 8.379 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.6754, allocations: 8 kB / 0.7308 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.6754, allocations: 0 / 0.7308 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.6754, allocations: 0 / 0.7308 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.834e-05/0.6755, allocations: 7.938 kB / 0.7308 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.6755, allocations: 0 / 0.7308 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/0.6755, allocations: 7.984 kB / 0.7308 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.6756, allocations: 8.031 kB / 0.7308 GB, free: 8.348 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.855e-05/0.6757, allocations: 113.8 kB / 0.7309 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.6757, allocations: 4 kB / 0.7309 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.6757, allocations: 3.5 kB / 0.7309 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.6757, allocations: 4.5 kB / 0.7309 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6757, allocations: 0 / 0.7309 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.6757, allocations: 0 / 0.7309 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.6759, allocations: 153.7 kB / 0.7311 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.6759, allocations: 3.953 kB / 0.7311 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.405e-06/0.6759, allocations: 4 kB / 0.7311 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.6759, allocations: 7.938 kB / 0.7311 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.6759, allocations: 3.984 kB / 0.7311 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.6759, allocations: 0 / 0.7311 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6759, allocations: 0 / 0.7311 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.676, allocations: 81.02 kB / 0.7311 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.6761, allocations: 81.06 kB / 0.7312 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.6761, allocations: 0 / 0.7312 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.917e-05/0.6762, allocations: 8 kB / 0.7312 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.6762, allocations: 7.984 kB / 0.7312 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.6762, allocations: 4 kB / 0.7312 GB, free: 7.777 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.6763, allocations: 79.28 kB / 0.7313 GB, free: 7.699 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6763, allocations: 0 / 0.7313 GB, free: 7.699 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000208/0.6765, allocations: 4 kB / 0.7313 GB, free: 7.695 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: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001755/0.6767, allocations: 103.2 kB / 0.7314 GB, free: 7.582 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.6768, allocations: 27.94 kB / 0.7314 GB, free: 7.555 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.6768, allocations: 0 / 0.7314 GB, free: 7.555 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.885e-05/0.6769, allocations: 7.984 kB / 0.7315 GB, free: 7.547 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.677, allocations: 6.75 kB / 0.7315 GB, free: 7.543 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.6774, allocations: 126.5 kB / 0.7316 GB, free: 7.398 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.6777, allocations: 0.6848 MB / 0.7323 GB, free: 6.688 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.944e-05/0.6777, allocations: 4.062 kB / 0.7323 GB, free: 6.684 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.6778, allocations: 11.44 kB / 0.7323 GB, free: 6.672 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.6778, allocations: 0 / 0.7323 GB, free: 6.672 MB / 0.545 GB Notification: Performance of Templates: time 0.002811/0.6806, allocations: 450.7 kB / 0.7327 GB, free: 6.234 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) Environment - environmentSimulation: