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.001407/0.001407, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001234/0.001234, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.595/1.595, allocations: 251.9 MB / 0.51 GB, free: 4.793 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.0005882/0.0005883, allocations: 12 kB / 0.6241 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6987/0.6993, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.002389/0.7017, allocations: 1.051 MB / 0.729 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005396/0.7023, allocations: 127.2 kB / 0.7292 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.024e-05/0.7023, allocations: 3.938 kB / 0.7292 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.7024, allocations: 3.984 kB / 0.7292 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.7025, allocations: 3.984 kB / 0.7292 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.7027, allocations: 15.98 kB / 0.7292 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.7028, allocations: 19.97 kB / 0.7292 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.388e-05/0.7029, allocations: 7.938 kB / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.7031, allocations: 19.92 kB / 0.7292 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.189e-05/0.7032, allocations: 19.91 kB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.7032, allocations: 4 kB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.762e-05/0.7032, allocations: 0 / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.7033, allocations: 15.92 kB / 0.7293 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.627e-05/0.7033, allocations: 25.7 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.676e-05/0.7034, allocations: 27.94 kB / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.7035, allocations: 0 / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7035, allocations: 4 kB / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.7035, allocations: 0 / 0.7293 GB, free: 10.06 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.0007405/0.7042, allocations: 353.2 kB / 0.7297 GB, free: 9.668 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.7043, allocations: 11.97 kB / 0.7297 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/0.7044, allocations: 11.91 kB / 0.7297 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.7045, allocations: 163 kB / 0.7298 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.7046, allocations: 4 kB / 0.7298 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.7046, allocations: 4 kB / 0.7298 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.7049, allocations: 61.66 kB / 0.7299 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.705, allocations: 4 kB / 0.7299 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.705, allocations: 4 kB / 0.7299 GB, free: 9.363 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.705, allocations: 3.984 kB / 0.7299 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.7054, allocations: 51.95 kB / 0.73 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005618/0.706, allocations: 264.9 kB / 0.7302 GB, free: 9 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.7064, allocations: 66.53 kB / 0.7303 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.7065, allocations: 0 / 0.7303 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000403/0.7069, allocations: 91.44 kB / 0.7304 GB, free: 8.824 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 4.419e-06/0.7069, allocations: 4 kB / 0.7304 GB, free: 8.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0007458/0.7077, allocations: 129.6 kB / 0.7305 GB, free: 8.688 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.7077, allocations: 51.41 kB / 0.7305 GB, free: 8.625 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.7079, allocations: 114.1 kB / 0.7306 GB, free: 8.504 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.7079, allocations: 29.7 kB / 0.7307 GB, free: 8.469 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.708, allocations: 80.14 kB / 0.7308 GB, free: 8.387 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.7081, allocations: 19.75 kB / 0.7308 GB, free: 8.367 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-06/0.7081, allocations: 0 / 0.7308 GB, free: 8.367 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.7083, allocations: 318.8 kB / 0.7311 GB, free: 8.047 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.7085, allocations: 43.97 kB / 0.7311 GB, free: 8.004 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.7087, allocations: 32.05 kB / 0.7311 GB, free: 7.973 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.7089, allocations: 35.97 kB / 0.7312 GB, free: 7.938 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.7089, allocations: 0 / 0.7312 GB, free: 7.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005047/0.7094, allocations: 109.6 kB / 0.7313 GB, free: 7.824 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.7094, allocations: 7.938 kB / 0.7313 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.7095, allocations: 7.922 kB / 0.7313 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.7095, allocations: 4 kB / 0.7313 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.7097, allocations: 15.98 kB / 0.7313 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.7097, allocations: 0 / 0.7313 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.7099, allocations: 15.98 kB / 0.7313 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.7099, allocations: 0 / 0.7313 GB, free: 7.773 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 ($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.0001226/0.71, allocations: 117.8 kB / 0.7314 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.7101, allocations: 7.906 kB / 0.7315 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.692e-05/0.7102, allocations: 7.906 kB / 0.7315 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.7102, allocations: 0 / 0.7315 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.7102, allocations: 4 kB / 0.7315 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.7102, allocations: 0 / 0.7315 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.7104, allocations: 177.6 kB / 0.7316 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7104, allocations: 0 / 0.7316 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.739e-05/0.7105, allocations: 11.94 kB / 0.7316 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.7105, allocations: 0 / 0.7316 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.7106, allocations: 3.984 kB / 0.7317 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.7106, allocations: 0 / 0.7317 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.7106, allocations: 4 kB / 0.7317 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004593/0.7111, allocations: 125 kB / 0.7318 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.7111, allocations: 81.02 kB / 0.7319 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.7112, allocations: 4 kB / 0.7319 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.7113, allocations: 11.98 kB / 0.7319 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/0.7114, allocations: 15.98 kB / 0.7319 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.7114, allocations: 0 / 0.7319 GB, free: 7.109 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.521e-05/0.7115, allocations: 91.27 kB / 0.732 GB, free: 7.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7115, allocations: 0 / 0.732 GB, free: 7.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003314/0.7118, allocations: 8 kB / 0.732 GB, free: 7.012 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 (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.0001623/0.712, allocations: 95.25 kB / 0.7321 GB, free: 6.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002911/0.7123, allocations: 83.88 kB / 0.7321 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7123, allocations: 0 / 0.7321 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.7124, allocations: 35.97 kB / 0.7322 GB, free: 6.793 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.7126, allocations: 11.95 kB / 0.7322 GB, free: 6.781 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.713, allocations: 142.5 kB / 0.7323 GB, free: 6.613 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.7132, allocations: 0.6809 MB / 0.733 GB, free: 5.906 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.932e-05/0.7132, allocations: 4 kB / 0.733 GB, free: 5.902 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.073e-05/0.7133, allocations: 7.438 kB / 0.733 GB, free: 5.895 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.7133, allocations: 7.938 kB / 0.733 GB, free: 5.887 MB / 0.545 GB Notification: Performance of Templates: time 0.003131/0.7164, allocations: 0.6832 MB / 0.7337 GB, free: 5.211 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: