Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007527/0.007527, allocations: 102.2 kB / 15.73 MB, free: 6.062 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.001672/0.001672, allocations: 192 kB / 16.67 MB, free: 5.973 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.521/1.521, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.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.411/1.411, allocations: 251.7 MB / 0.5094 GB, free: 412 kB / 430.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.001468/0.001468, allocations: 79.88 kB / 0.7258 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6789/0.6804, allocations: 104.7 MB / 0.8281 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.002683/0.6832, allocations: 1.332 MB / 0.8294 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0004027/0.6836, allocations: 136.4 kB / 0.8295 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.958e-05/0.6836, allocations: 0 / 0.8295 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.6837, allocations: 8 kB / 0.8295 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 8.501e-05/0.6838, allocations: 3.938 kB / 0.8295 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.684, allocations: 19.91 kB / 0.8296 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.6841, allocations: 47.84 kB / 0.8296 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 7.19e-05/0.6842, allocations: 4 kB / 0.8296 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 8.741e-05/0.6842, allocations: 19.98 kB / 0.8296 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.389e-05/0.6843, allocations: 19.91 kB / 0.8296 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.6843, allocations: 4 kB / 0.8296 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 1.376e-05/0.6844, allocations: 4 kB / 0.8296 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.6844, allocations: 15.94 kB / 0.8297 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.6844, allocations: 15.92 kB / 0.8297 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.6846, allocations: 47.45 kB / 0.8297 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6846, allocations: 0 / 0.8297 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6846, allocations: 0 / 0.8297 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.6846, allocations: 0 / 0.8297 GB, free: 0.9141 MB / 0.6231 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.000667/0.6853, allocations: 352.4 kB / 0.8301 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.6853, allocations: 12.03 kB / 0.8301 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.6854, allocations: 4.938 kB / 0.8301 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.6855, allocations: 184.3 kB / 0.8303 GB, free: 296 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.6856, allocations: 384 / 0.8303 GB, free: 296 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.6856, allocations: 4.375 kB / 0.8303 GB, free: 292 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.6858, allocations: 54.22 kB / 0.8303 GB, free: 232 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.6858, allocations: 4.188 kB / 0.8303 GB, free: 228 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.6858, allocations: 3.938 kB / 0.8303 GB, free: 224 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.6859, allocations: 0 / 0.8303 GB, free: 224 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.6861, allocations: 55.83 kB / 0.8304 GB, free: 168 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.6865, allocations: 257 kB / 0.8306 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.6867, allocations: 58.47 kB / 0.8307 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.6868, allocations: 32.91 kB / 0.8307 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.6869, allocations: 4 kB / 0.8307 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.6871, allocations: 79.31 kB / 0.8308 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.6871, allocations: 4 kB / 0.8308 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4): time 0.000438/0.6876, allocations: 105.6 kB / 0.8309 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.6876, allocations: 55.41 kB / 0.8309 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.072e-05/0.6877, allocations: 113.8 kB / 0.831 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.6878, allocations: 25.7 kB / 0.8311 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.877e-05/0.6878, allocations: 88.14 kB / 0.8312 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.6878, allocations: 11.94 kB / 0.8312 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.6879, allocations: 21.7 kB / 0.8312 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.688, allocations: 314.8 kB / 0.8315 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.6881, allocations: 31.97 kB / 0.8315 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.6882, allocations: 31.97 kB / 0.8315 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.6884, allocations: 61.2 kB / 0.8316 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6885, allocations: 3.938 kB / 0.8316 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002574/0.6887, allocations: 93.61 kB / 0.8317 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.6887, allocations: 11.92 kB / 0.8317 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.6888, allocations: 0 / 0.8317 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.6888, allocations: 4 kB / 0.8317 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.6889, allocations: 15.98 kB / 0.8317 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.6889, allocations: 4 kB / 0.8317 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.55e-05/0.689, allocations: 7.984 kB / 0.8317 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.689, allocations: 4 kB / 0.8317 GB, free: 14.62 MB / 0.6387 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.8e-05/0.6891, allocations: 118.8 kB / 0.8319 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.6891, allocations: 7.953 kB / 0.8319 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.6892, allocations: 3.906 kB / 0.8319 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.6892, allocations: 4 kB / 0.8319 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.6892, allocations: 0 / 0.8319 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.6892, allocations: 0 / 0.8319 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.6893, allocations: 177.5 kB / 0.832 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6893, allocations: 0 / 0.832 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.854e-05/0.6894, allocations: 8 kB / 0.8321 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.6894, allocations: 0 / 0.8321 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.6894, allocations: 7.984 kB / 0.8321 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6894, allocations: 0 / 0.8321 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6895, allocations: 3.938 kB / 0.8321 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.6897, allocations: 117 kB / 0.8322 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.6898, allocations: 85 kB / 0.8323 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.6898, allocations: 4 kB / 0.8323 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.862e-05/0.6899, allocations: 7.984 kB / 0.8323 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/0.69, allocations: 11.98 kB / 0.8323 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.69, allocations: 0 / 0.8323 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.054e-05/0.69, allocations: 95.27 kB / 0.8324 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6901, allocations: 0 / 0.8324 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001911/0.6902, allocations: 8 kB / 0.8324 GB, free: 13.87 MB / 0.6387 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 (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.0001439/0.6904, allocations: 99.25 kB / 0.8325 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003064/0.6907, allocations: 67.92 kB / 0.8325 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6907, allocations: 0 / 0.8325 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.6909, allocations: 31.92 kB / 0.8326 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.6911, allocations: 15.92 kB / 0.8326 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.6915, allocations: 124.3 kB / 0.8327 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.6917, allocations: 0.6848 MB / 0.8334 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.6918, allocations: 7.938 kB / 0.8334 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.6918, allocations: 11.44 kB / 0.8334 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of SimCode: time 2.4e-07/0.6918, allocations: 0 / 0.8334 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of Templates: time 0.003247/0.6951, allocations: 0.8062 MB / 0.8342 GB, free: 11.98 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)