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.001502/0.001502, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002009/0.002009, allocations: 194.1 kB / 16.25 MB, free: 6.621 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.752/1.752, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.626/1.626, allocations: 251.7 MB / 0.5089 GB, free: 3.34 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.001508/0.001508, allocations: 67.91 kB / 0.6218 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6108/0.6123, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.002866/0.6152, allocations: 1.409 MB / 0.7254 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003767/0.6156, allocations: 132.5 kB / 0.7255 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.6156, allocations: 0 / 0.7255 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.267e-05/0.6157, allocations: 7.938 kB / 0.7255 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.596e-05/0.6158, allocations: 7.969 kB / 0.7255 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.616, allocations: 8 kB / 0.7255 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.797e-05/0.616, allocations: 47.84 kB / 0.7256 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.672e-05/0.6161, allocations: 4 kB / 0.7256 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.946e-05/0.6162, allocations: 19.92 kB / 0.7256 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.001e-05/0.6162, allocations: 19.91 kB / 0.7256 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.6163, allocations: 4 kB / 0.7256 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.6163, allocations: 4 kB / 0.7256 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.6163, allocations: 7.984 kB / 0.7256 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.6164, allocations: 23.92 kB / 0.7257 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.571e-05/0.6165, allocations: 35.88 kB / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6165, allocations: 0 / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6165, allocations: 4 kB / 0.7257 GB, free: 11.36 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.6165, allocations: 0 / 0.7257 GB, free: 11.36 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.0006434/0.6171, allocations: 357.3 kB / 0.726 GB, free: 10.96 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.6172, allocations: 8.031 kB / 0.7261 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.6172, allocations: 4.938 kB / 0.7261 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.6173, allocations: 176.2 kB / 0.7262 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.6174, allocations: 8.359 kB / 0.7262 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.6174, allocations: 384 / 0.7262 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.6176, allocations: 62.22 kB / 0.7263 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.6176, allocations: 192 / 0.7263 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.6176, allocations: 7.875 kB / 0.7263 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.6176, allocations: 4 kB / 0.7263 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.6178, allocations: 39.95 kB / 0.7263 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.6182, allocations: 261 kB / 0.7266 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.6184, allocations: 66.41 kB / 0.7267 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.832e-05/0.6185, allocations: 24.94 kB / 0.7267 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.6186, allocations: 3.984 kB / 0.7267 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.6188, allocations: 79.36 kB / 0.7268 GB, free: 10.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.6188, allocations: 0 / 0.7268 GB, free: 10.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0003973/0.6192, allocations: 117.5 kB / 0.7269 GB, free: 9.996 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.6193, allocations: 51.41 kB / 0.7269 GB, free: 9.934 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.198e-05/0.6194, allocations: 117.8 kB / 0.727 GB, free: 9.809 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.6194, allocations: 25.7 kB / 0.7271 GB, free: 9.777 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.6194, allocations: 88.05 kB / 0.7271 GB, free: 9.688 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.6195, allocations: 11.84 kB / 0.7272 GB, free: 9.676 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.6195, allocations: 21.7 kB / 0.7272 GB, free: 9.648 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.6196, allocations: 314.8 kB / 0.7275 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.6197, allocations: 27.97 kB / 0.7275 GB, free: 9.305 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.945e-05/0.6198, allocations: 35.97 kB / 0.7275 GB, free: 9.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.62, allocations: 52.81 kB / 0.7276 GB, free: 9.215 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6201, allocations: 3.938 kB / 0.7276 GB, free: 9.211 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002493/0.6203, allocations: 101.5 kB / 0.7277 GB, free: 9.105 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.6203, allocations: 8 kB / 0.7277 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.6203, allocations: 4 kB / 0.7277 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.6204, allocations: 0 / 0.7277 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.6205, allocations: 15.98 kB / 0.7277 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.6205, allocations: 0 / 0.7277 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.913e-05/0.6206, allocations: 11.98 kB / 0.7277 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.6206, allocations: 4 kB / 0.7277 GB, free: 9.062 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.0001146/0.6207, allocations: 117.8 kB / 0.7278 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.6208, allocations: 4 kB / 0.7278 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/0.6208, allocations: 7.906 kB / 0.7279 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.6208, allocations: 0 / 0.7279 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.6208, allocations: 4 kB / 0.7279 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.6208, allocations: 3.938 kB / 0.7279 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.621, allocations: 173.5 kB / 0.728 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.621, allocations: 0 / 0.728 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-05/0.6211, allocations: 7.984 kB / 0.728 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6211, allocations: 0 / 0.728 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.6211, allocations: 4 kB / 0.728 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6211, allocations: 0 / 0.728 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6211, allocations: 0 / 0.728 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.6214, allocations: 120.9 kB / 0.7282 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.6214, allocations: 77.11 kB / 0.7282 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.6215, allocations: 0 / 0.7282 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.309e-05/0.6215, allocations: 15.98 kB / 0.7282 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.6216, allocations: 7.984 kB / 0.7282 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.6216, allocations: 0 / 0.7282 GB, free: 8.426 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.572e-05/0.6217, allocations: 91.83 kB / 0.7283 GB, free: 8.336 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6217, allocations: 3.938 kB / 0.7283 GB, free: 8.332 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001891/0.6219, allocations: 8 kB / 0.7283 GB, free: 8.324 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.0001635/0.622, allocations: 111.2 kB / 0.7285 GB, free: 8.207 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002719/0.6223, allocations: 60.17 kB / 0.7285 GB, free: 8.148 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6223, allocations: 0 / 0.7285 GB, free: 8.148 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.6224, allocations: 31.98 kB / 0.7285 GB, free: 8.117 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.6227, allocations: 16.02 kB / 0.7286 GB, free: 8.102 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.6231, allocations: 141.9 kB / 0.7287 GB, free: 7.938 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.6233, allocations: 0.6807 MB / 0.7294 GB, free: 7.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.455e-05/0.6233, allocations: 4 kB / 0.7294 GB, free: 7.227 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.6234, allocations: 11.44 kB / 0.7294 GB, free: 7.215 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.6234, allocations: 0 / 0.7294 GB, free: 7.215 MB / 0.545 GB Notification: Performance of Templates: time 0.003513/0.6269, allocations: 0.7807 MB / 0.7301 GB, free: 6.445 MB / 0.545 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)