Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009584/0.0009583, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007481/0.007481, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 223.2 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.209/3.209, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003555, allocations: 10 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.3991, allocations: 162.2 MB / 1.074 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001126/0.4003, allocations: 457.1 kB / 1.075 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001816/0.4021, allocations: 1.143 MB / 1.076 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.4022, allocations: 0 / 1.076 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.4022, allocations: 7.938 kB / 1.076 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.692e-05/0.4023, allocations: 7.938 kB / 1.076 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.4029, allocations: 119.3 kB / 1.076 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.403, allocations: 103.8 kB / 1.076 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.4031, allocations: 19.95 kB / 1.076 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.641e-05/0.4032, allocations: 31.86 kB / 1.076 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.4033, allocations: 35.89 kB / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.4034, allocations: 7.938 kB / 1.076 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.297e-05/0.4034, allocations: 20 kB / 1.076 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.4035, allocations: 7.969 kB / 1.076 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.489e-05/0.4036, allocations: 57.56 kB / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.4038, allocations: 123.7 kB / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4038, allocations: 0 / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4038, allocations: 0 / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.4038, allocations: 0 / 1.076 GB, free: 5.367 MB / 0.8262 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.0005003/0.4043, allocations: 377.4 kB / 1.077 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.4043, allocations: 11.97 kB / 1.077 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.11e-05/0.4044, allocations: 20.77 kB / 1.077 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.4046, allocations: 176.2 kB / 1.077 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.4046, allocations: 8.375 kB / 1.077 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.4046, allocations: 4.375 kB / 1.077 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.565e-05/0.4047, allocations: 42.25 kB / 1.077 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.4048, allocations: 192 / 1.077 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.4048, allocations: 7.938 kB / 1.077 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.4048, allocations: 4 kB / 1.077 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.513e-05/0.4048, allocations: 11.98 kB / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004916/0.4053, allocations: 336.7 kB / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.378e-05/0.4054, allocations: 34.52 kB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/0.4054, allocations: 12.92 kB / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.4055, allocations: 0 / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.4056, allocations: 67.38 kB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 3.156e-06/0.4056, allocations: 4 kB / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002195/0.4058, allocations: 77.53 kB / 1.077 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.4059, allocations: 55.41 kB / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.406, allocations: 121.8 kB / 1.078 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.4061, allocations: 29.7 kB / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.134e-05/0.4061, allocations: 92.12 kB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.4061, allocations: 11.81 kB / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.4062, allocations: 21.7 kB / 1.078 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.4063, allocations: 314.8 kB / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-05/0.4064, allocations: 39.98 kB / 1.078 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.4065, allocations: 58.55 kB / 1.078 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.4067, allocations: 96.14 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4067, allocations: 0 / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002705/0.407, allocations: 159.3 kB / 1.078 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.941e-05/0.407, allocations: 37.7 kB / 1.078 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.407, allocations: 0 / 1.078 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4071, allocations: 4 kB / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.867e-05/0.4071, allocations: 0 / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.4071, allocations: 7.938 kB / 1.078 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.4074, allocations: 43.92 kB / 1.078 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.4074, allocations: 7.938 kB / 1.078 GB, free: 2.848 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001041/0.4075, allocations: 121.8 kB / 1.079 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.4076, allocations: 0 / 1.079 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.4076, allocations: 20.06 kB / 1.079 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.4076, allocations: 0 / 1.079 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.4076, allocations: 0 / 1.079 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4076, allocations: 3.984 kB / 1.079 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.4078, allocations: 173.6 kB / 1.079 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4078, allocations: 4 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/0.4079, allocations: 3.984 kB / 1.079 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4079, allocations: 0 / 1.079 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.4079, allocations: 4 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4079, allocations: 0 / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4079, allocations: 4.062 kB / 1.079 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.408, allocations: 92.91 kB / 1.079 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/0.4081, allocations: 89 kB / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.4081, allocations: 4 kB / 1.079 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.957e-05/0.4081, allocations: 0 / 1.079 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.4082, allocations: 4 kB / 1.079 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.4082, allocations: 4 kB / 1.079 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.724e-05/0.4083, allocations: 95.27 kB / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.01e-07/0.4083, allocations: 0 / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002253/0.4085, allocations: 20 kB / 1.079 GB, free: 2.113 MB / 0.8262 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,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000204/0.4087, allocations: 107.2 kB / 1.079 GB, free: 2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002638/0.409, allocations: 139.3 kB / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.409, allocations: 0 / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.609e-05/0.409, allocations: 12 kB / 1.079 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.4093, allocations: 23.41 kB / 1.079 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.4097, allocations: 158.7 kB / 1.079 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.41, allocations: 0.6848 MB / 1.08 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.168e-05/0.41, allocations: 4 kB / 1.08 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.41, allocations: 11.44 kB / 1.08 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4101, allocations: 0 / 1.08 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of Templates: time 0.004303/0.4144, allocations: 1.291 MB / 1.081 GB, free: 15.64 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1)