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.0009809/0.0009805, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005917/0.005917, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.49/1.49, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.601/1.601, allocations: 252 MB / 0.5105 GB, free: 4.633 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.000536/0.000536, allocations: 23.98 kB / 0.6249 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5966/0.5971, allocations: 106.3 MB / 0.7288 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.001588/0.5988, allocations: 1.07 MB / 0.7298 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003347/0.5991, allocations: 132.5 kB / 0.7299 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.5992, allocations: 0 / 0.7299 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.5992, allocations: 0 / 0.7299 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.649e-05/0.5993, allocations: 15.92 kB / 0.7299 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.5995, allocations: 11.98 kB / 0.73 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.737e-05/0.5996, allocations: 39.92 kB / 0.73 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.725e-05/0.5996, allocations: 0 / 0.73 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.323e-05/0.5997, allocations: 23.86 kB / 0.73 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.5998, allocations: 19.91 kB / 0.73 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.5998, allocations: 4 kB / 0.73 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.457e-06/0.5998, allocations: 0 / 0.73 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.697e-05/0.5999, allocations: 7.984 kB / 0.73 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.5999, allocations: 41.62 kB / 0.7301 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.56e-05/0.6, allocations: 39.86 kB / 0.7301 GB, free: 10 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6, allocations: 0 / 0.7301 GB, free: 10 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6, allocations: 0 / 0.7301 GB, free: 10 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.6001, allocations: 0 / 0.7301 GB, free: 10 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006008/0.6007, allocations: 353.5 kB / 0.7305 GB, free: 9.609 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.6007, allocations: 8.031 kB / 0.7305 GB, free: 9.602 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.6008, allocations: 8.844 kB / 0.7305 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.6009, allocations: 168.4 kB / 0.7306 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.6009, allocations: 8.375 kB / 0.7306 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.6009, allocations: 384 / 0.7306 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.6012, allocations: 70.14 kB / 0.7307 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.6012, allocations: 192 / 0.7307 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.6012, allocations: 7.938 kB / 0.7307 GB, free: 9.301 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.6012, allocations: 0 / 0.7307 GB, free: 9.301 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.6015, allocations: 59.89 kB / 0.7308 GB, free: 9.242 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/0.6019, allocations: 260.8 kB / 0.731 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.6022, allocations: 78.47 kB / 0.7311 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.6024, allocations: 36.92 kB / 0.7311 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.6024, allocations: 0 / 0.7311 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003337/0.6027, allocations: 95.23 kB / 0.7312 GB, free: 8.707 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.6028, allocations: 0 / 0.7312 GB, free: 8.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0004964/0.6033, allocations: 121.6 kB / 0.7313 GB, free: 8.582 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.6033, allocations: 51.41 kB / 0.7314 GB, free: 8.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.6034, allocations: 113.8 kB / 0.7315 GB, free: 8.398 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.6035, allocations: 29.7 kB / 0.7315 GB, free: 8.363 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.863e-05/0.6036, allocations: 88.05 kB / 0.7316 GB, free: 8.273 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.6036, allocations: 15.77 kB / 0.7316 GB, free: 8.258 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.6036, allocations: 21.72 kB / 0.7316 GB, free: 8.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.6038, allocations: 310.8 kB / 0.7319 GB, free: 7.918 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.604, allocations: 39.97 kB / 0.732 GB, free: 7.879 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.6041, allocations: 31.97 kB / 0.732 GB, free: 7.848 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.6043, allocations: 64.81 kB / 0.7321 GB, free: 7.781 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.6043, allocations: 3.938 kB / 0.7321 GB, free: 7.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002895/0.6046, allocations: 109.7 kB / 0.7322 GB, free: 7.664 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.6047, allocations: 4 kB / 0.7322 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.6047, allocations: 3.984 kB / 0.7322 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.6047, allocations: 0 / 0.7322 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.6048, allocations: 19.92 kB / 0.7322 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.6048, allocations: 0 / 0.7322 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.247e-05/0.6049, allocations: 19.89 kB / 0.7322 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.605, allocations: 4 kB / 0.7322 GB, free: 7.613 MB / 0.545 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 0.0001171/0.6051, allocations: 117.8 kB / 0.7323 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.6051, allocations: 0 / 0.7323 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/0.6052, allocations: 11.91 kB / 0.7324 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.6052, allocations: 0 / 0.7324 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.6052, allocations: 0 / 0.7324 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.6052, allocations: 0 / 0.7324 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.6053, allocations: 173.6 kB / 0.7325 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.6054, allocations: 0 / 0.7325 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.326e-05/0.6054, allocations: 15.94 kB / 0.7325 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.6054, allocations: 0 / 0.7325 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.6055, allocations: 3.984 kB / 0.7325 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.6055, allocations: 4 kB / 0.7325 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.6055, allocations: 0 / 0.7325 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.6058, allocations: 141 kB / 0.7327 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/0.6059, allocations: 77.11 kB / 0.7328 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.6059, allocations: 0 / 0.7328 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.481e-05/0.606, allocations: 11.98 kB / 0.7328 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.82e-05/0.6061, allocations: 11.98 kB / 0.7328 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.6061, allocations: 7.938 kB / 0.7328 GB, free: 6.945 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.262e-05/0.6062, allocations: 91.27 kB / 0.7329 GB, free: 6.855 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6062, allocations: 0 / 0.7329 GB, free: 6.855 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001887/0.6064, allocations: 8 kB / 0.7329 GB, free: 6.848 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,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.0002108/0.6066, allocations: 99.25 kB / 0.733 GB, free: 6.742 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003228/0.6069, allocations: 83.88 kB / 0.733 GB, free: 6.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6069, allocations: 0 / 0.733 GB, free: 6.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.6071, allocations: 31.98 kB / 0.7331 GB, free: 6.629 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.6073, allocations: 14.55 kB / 0.7331 GB, free: 6.617 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.6077, allocations: 138.7 kB / 0.7332 GB, free: 6.453 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.608, allocations: 0.6809 MB / 0.7339 GB, free: 5.746 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.669e-05/0.6081, allocations: 7.984 kB / 0.7339 GB, free: 5.738 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.6081, allocations: 7.438 kB / 0.7339 GB, free: 5.73 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.6081, allocations: 0 / 0.7339 GB, free: 5.73 MB / 0.545 GB Notification: Performance of Templates: time 0.003235/0.6114, allocations: 0.7122 MB / 0.7346 GB, free: 5.023 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: