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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.326/1.326, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 181.4 kB / 327.6 MB, free: 2.176 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.4 MB / 0.5785 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008394/0.0008393, allocations: 94.28 kB / 0.6831 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003376, allocations: 15.78 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1803, allocations: 106.3 MB / 0.9013 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.3284, allocations: 131.3 MB / 1.029 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.3287, allocations: 75.95 kB / 1.03 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001193/0.3299, allocations: 0.5593 MB / 1.03 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3299, allocations: 3.938 kB / 1.03 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.3299, allocations: 0 / 1.03 GB, free: 11.6 MB / 0.6823 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.0003475/0.3303, allocations: 352.7 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3303, allocations: 8.031 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.3304, allocations: 4.938 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.3305, allocations: 160.4 kB / 1.031 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.3305, allocations: 4.359 kB / 1.031 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.3305, allocations: 4.375 kB / 1.031 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.641e-05/0.3306, allocations: 34.27 kB / 1.031 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.3306, allocations: 192 / 1.031 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3306, allocations: 3.938 kB / 1.031 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3306, allocations: 4 kB / 1.031 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.224e-05/0.3307, allocations: 7.984 kB / 1.031 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.3308, allocations: 157.7 kB / 1.031 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.898e-05/0.3309, allocations: 26.55 kB / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.993e-05/0.3309, allocations: 8.859 kB / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.3309, allocations: 4.062 kB / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.3311, allocations: 59.3 kB / 1.031 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.3311, allocations: 0 / 1.031 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0001457/0.3313, allocations: 57.56 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.3313, allocations: 55.41 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.849e-05/0.3314, allocations: 97.86 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.3314, allocations: 25.7 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.3315, allocations: 96.06 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.3315, allocations: 7.891 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-06/0.3315, allocations: 4 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3316, allocations: 314.8 kB / 1.032 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.512e-05/0.3316, allocations: 4 kB / 1.032 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.409e-05/0.3317, allocations: 21.7 kB / 1.032 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.872e-05/0.3317, allocations: 25.66 kB / 1.032 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3317, allocations: 0 / 1.032 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.783e-05/0.3318, allocations: 50.19 kB / 1.032 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.3318, allocations: 11.94 kB / 1.032 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3318, allocations: 0 / 1.032 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3318, allocations: 0 / 1.032 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.106e-05/0.3319, allocations: 11.98 kB / 1.032 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.3319, allocations: 0 / 1.032 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.359e-05/0.332, allocations: 15.97 kB / 1.032 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.332, allocations: 7.938 kB / 1.032 GB, free: 9.754 MB / 0.6823 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 6.517e-05/0.332, allocations: 109.8 kB / 1.032 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.332, allocations: 7.938 kB / 1.032 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.214e-05/0.3321, allocations: 7.5 kB / 1.032 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.3321, allocations: 0 / 1.032 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3321, allocations: 0 / 1.032 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3321, allocations: 4 kB / 1.032 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.3322, allocations: 157.7 kB / 1.032 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3322, allocations: 0 / 1.032 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-06/0.3322, allocations: 0 / 1.032 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3322, allocations: 3.938 kB / 1.032 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.3322, allocations: 0 / 1.032 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3323, allocations: 0 / 1.032 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3323, allocations: 4 kB / 1.032 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.601e-05/0.3324, allocations: 76.97 kB / 1.032 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.3324, allocations: 77.11 kB / 1.032 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.3324, allocations: 3.938 kB / 1.032 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.735e-05/0.3325, allocations: 15.98 kB / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.3325, allocations: 3.984 kB / 1.032 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.3325, allocations: 8 kB / 1.032 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.347e-05/0.3326, allocations: 79.28 kB / 1.032 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3326, allocations: 0 / 1.032 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001808/0.3327, allocations: 8 kB / 1.032 GB, free: 9.098 MB / 0.6823 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.0001045/0.3329, allocations: 99.19 kB / 1.032 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.179e-05/0.3329, allocations: 23.92 kB / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3329, allocations: 0 / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.553e-05/0.333, allocations: 8 kB / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.3332, allocations: 16.05 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002358/0.3334, allocations: 114.6 kB / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.3336, allocations: 0.677 MB / 1.033 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.831e-05/0.3337, allocations: 256 / 1.033 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/0.3337, allocations: 11.44 kB / 1.033 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.3337, allocations: 0 / 1.033 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of Templates: time 0.001936/0.3356, allocations: 462.3 kB / 1.034 GB, free: 7.648 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (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)