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.007833/0.007833, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.0017/0.0017, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.715/1.715, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.528/1.528, allocations: 251.7 MB / 0.5094 GB, free: 432 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.002083/0.002083, allocations: 67.89 kB / 0.7258 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6565/0.6586, allocations: 104.7 MB / 0.8281 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.003065/0.6617, allocations: 1.335 MB / 0.8294 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.000481/0.6622, allocations: 132.5 kB / 0.8295 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.744e-05/0.6623, allocations: 0 / 0.8295 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.6623, allocations: 3.938 kB / 0.8295 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.6625, allocations: 19.91 kB / 0.8295 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.6627, allocations: 7.984 kB / 0.8295 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.6628, allocations: 51.73 kB / 0.8296 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 8.717e-05/0.6629, allocations: 15.98 kB / 0.8296 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 9.963e-05/0.663, allocations: 15.98 kB / 0.8296 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 8.052e-05/0.6631, allocations: 19.91 kB / 0.8296 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.6632, allocations: 4 kB / 0.8296 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 1.79e-05/0.6632, allocations: 4 kB / 0.8296 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 3.286e-05/0.6632, allocations: 11.98 kB / 0.8297 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.6633, allocations: 15.88 kB / 0.8297 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.6635, allocations: 31.94 kB / 0.8297 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.228e-05/0.6635, allocations: 0 / 0.8297 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.435e-06/0.6635, allocations: 3.938 kB / 0.8297 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.6635, allocations: 0 / 0.8297 GB, free: 1.094 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.0008983/0.6644, allocations: 363.1 kB / 0.8301 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/0.6645, allocations: 12.03 kB / 0.8301 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.961e-05/0.6646, allocations: 0.9375 kB / 0.8301 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.6648, allocations: 178.5 kB / 0.8302 GB, free: 480 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.6648, allocations: 384 / 0.8302 GB, free: 480 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.6648, allocations: 384 / 0.8302 GB, free: 480 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.6651, allocations: 62.22 kB / 0.8303 GB, free: 412 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.6652, allocations: 8.188 kB / 0.8303 GB, free: 404 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.6652, allocations: 3.938 kB / 0.8303 GB, free: 400 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.6652, allocations: 0 / 0.8303 GB, free: 400 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002865/0.6655, allocations: 39.95 kB / 0.8303 GB, free: 360 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006032/0.6661, allocations: 257 kB / 0.8306 GB, free: 52 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.6665, allocations: 70.41 kB / 0.8307 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.6666, allocations: 28.92 kB / 0.8307 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.6666, allocations: 0 / 0.8307 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003379/0.667, allocations: 79.34 kB / 0.8308 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=4): time 1.804e-06/0.667, allocations: 0 / 0.8308 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4): time 0.0004517/0.6675, allocations: 113.6 kB / 0.8309 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.6675, allocations: 51.41 kB / 0.8309 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.6676, allocations: 113.8 kB / 0.831 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.6677, allocations: 29.7 kB / 0.8311 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.6678, allocations: 88.12 kB / 0.8311 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.6678, allocations: 11.84 kB / 0.8312 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/0.6678, allocations: 21.72 kB / 0.8312 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.668, allocations: 318.8 kB / 0.8315 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.6682, allocations: 27.98 kB / 0.8315 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.6683, allocations: 32.27 kB / 0.8315 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.6685, allocations: 60.81 kB / 0.8316 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.6685, allocations: 3.938 kB / 0.8316 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002688/0.6688, allocations: 109.4 kB / 0.8317 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.6688, allocations: 8 kB / 0.8317 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.6688, allocations: 0 / 0.8317 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.6689, allocations: 0 / 0.8317 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.669, allocations: 15.92 kB / 0.8317 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.669, allocations: 4 kB / 0.8317 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.435e-05/0.6691, allocations: 7.984 kB / 0.8317 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.6691, allocations: 0 / 0.8317 GB, free: 14.79 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 0.0001132/0.6693, allocations: 122.8 kB / 0.8319 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.6693, allocations: 4 kB / 0.8319 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.6693, allocations: 11.89 kB / 0.8319 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.6693, allocations: 0 / 0.8319 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6693, allocations: 0 / 0.8319 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.6693, allocations: 0 / 0.8319 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.6695, allocations: 173.4 kB / 0.832 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6695, allocations: 0 / 0.832 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.058e-05/0.6696, allocations: 11.98 kB / 0.832 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.6696, allocations: 4 kB / 0.832 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.6696, allocations: 0 / 0.832 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.6696, allocations: 0 / 0.832 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6696, allocations: 0 / 0.832 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.6699, allocations: 113 kB / 0.8322 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/0.67, allocations: 77.11 kB / 0.8322 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.67, allocations: 4 kB / 0.8322 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.6701, allocations: 11.98 kB / 0.8322 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/0.6702, allocations: 11.98 kB / 0.8323 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.6702, allocations: 0 / 0.8323 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.375e-05/0.6702, allocations: 91.27 kB / 0.8323 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6702, allocations: 0 / 0.8323 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001885/0.6704, allocations: 8 kB / 0.8324 GB, free: 14.06 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.000157/0.6706, allocations: 103.2 kB / 0.8325 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002874/0.6709, allocations: 67.94 kB / 0.8325 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6709, allocations: 0 / 0.8325 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.671, allocations: 27.97 kB / 0.8325 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.6712, allocations: 15.94 kB / 0.8326 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/0.6717, allocations: 132.2 kB / 0.8327 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.672, allocations: 0.6922 MB / 0.8334 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.531e-05/0.672, allocations: 0 / 0.8334 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.6721, allocations: 19.42 kB / 0.8334 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of SimCode: time 2.174e-06/0.6721, allocations: 0 / 0.8334 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of Templates: time 0.003567/0.6757, allocations: 0.8094 MB / 0.8342 GB, free: 12.15 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)