Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.249/2.249, allocations: 251.1 MB / 266.7 MB, free: 11.56 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.001277/0.001277, allocations: 188 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.36/2.36, allocations: 205.4 MB / 0.5772 GB, free: 21.14 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.0009418/0.0009417, allocations: 97.52 kB / 0.6817 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000625/0.0006252, allocations: 15.56 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2058, allocations: 106.3 MB / 0.8995 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2258/0.4317, allocations: 131.2 MB / 1.028 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.432, allocations: 79.94 kB / 1.028 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003286/0.4353, allocations: 0.7791 MB / 1.029 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4354, allocations: 0 / 1.029 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.4354, allocations: 0 / 1.029 GB, free: 13.75 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000681/0.4361, allocations: 347.5 kB / 1.029 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.4361, allocations: 8.031 kB / 1.029 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.4362, allocations: 12.83 kB / 1.029 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.4364, allocations: 164.3 kB / 1.029 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.4364, allocations: 8.375 kB / 1.029 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.4364, allocations: 384 / 1.029 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.4368, allocations: 70.34 kB / 1.029 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.4368, allocations: 192 / 1.029 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.4368, allocations: 7.938 kB / 1.029 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4368, allocations: 0 / 1.029 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.4372, allocations: 51.95 kB / 1.029 GB, free: 13 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.4378, allocations: 257 kB / 1.029 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.4383, allocations: 78.47 kB / 1.029 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.4385, allocations: 36.86 kB / 1.03 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.4385, allocations: 0 / 1.03 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003951/0.4389, allocations: 87.36 kB / 1.03 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 2.595e-06/0.4389, allocations: 0 / 1.03 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0007417/0.4397, allocations: 129.5 kB / 1.03 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.4398, allocations: 59.34 kB / 1.03 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.4399, allocations: 109.8 kB / 1.03 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.44, allocations: 33.64 kB / 1.03 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.167e-05/0.44, allocations: 84.14 kB / 1.03 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.4401, allocations: 11.89 kB / 1.03 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/0.4401, allocations: 0 / 1.03 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4403, allocations: 318.8 kB / 1.03 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.4405, allocations: 35.97 kB / 1.03 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.4407, allocations: 35.91 kB / 1.03 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.4409, allocations: 35.98 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.441, allocations: 3.938 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005161/0.4415, allocations: 109.5 kB / 1.031 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.4415, allocations: 8 kB / 1.031 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4415, allocations: 4 kB / 1.031 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.4416, allocations: 0 / 1.031 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.4418, allocations: 19.92 kB / 1.031 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.4418, allocations: 0 / 1.031 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.442, allocations: 11.98 kB / 1.031 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/0.442, allocations: 4 kB / 1.031 GB, free: 11.43 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001338/0.4422, allocations: 117.7 kB / 1.031 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.4422, allocations: 11.91 kB / 1.031 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.747e-05/0.4423, allocations: 7.906 kB / 1.031 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4423, allocations: 0 / 1.031 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.4423, allocations: 3.984 kB / 1.031 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.4423, allocations: 4 kB / 1.031 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.4425, allocations: 161.6 kB / 1.031 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4425, allocations: 0 / 1.031 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.4426, allocations: 11.98 kB / 1.031 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.4426, allocations: 0 / 1.031 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.4427, allocations: 8 kB / 1.031 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4427, allocations: 0 / 1.031 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.4427, allocations: 4 kB / 1.031 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000514/0.4432, allocations: 132.9 kB / 1.031 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.222e-05/0.4433, allocations: 85.02 kB / 1.031 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.4434, allocations: 0 / 1.031 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.4435, allocations: 11.98 kB / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/0.4436, allocations: 15.97 kB / 1.031 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.4436, allocations: 0 / 1.031 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.454e-05/0.4437, allocations: 87.28 kB / 1.031 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4437, allocations: 0 / 1.031 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002526/0.444, allocations: 8 kB / 1.031 GB, free: 10.66 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,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001738/0.4442, allocations: 111.2 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004809/0.4447, allocations: 71.89 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4447, allocations: 0 / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.4449, allocations: 39.97 kB / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.4452, allocations: 21.92 kB / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.4457, allocations: 130.7 kB / 1.032 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.446, allocations: 0.6809 MB / 1.032 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.82e-05/0.4461, allocations: 4.25 kB / 1.032 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.4462, allocations: 7.438 kB / 1.032 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of SimCode: time 9.62e-07/0.4462, allocations: 0 / 1.032 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of Templates: time 0.003857/0.45, allocations: 0.7034 MB / 1.033 GB, free: 8.84 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)