Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001471, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.488/1.488, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.142/3.142, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 64.95 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4724/0.4738, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002738/0.4766, allocations: 0.9538 MB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002261/0.4789, allocations: 1.447 MB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.926e-05/0.479, allocations: 0 / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.28e-05/0.4791, allocations: 15.75 kB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.4792, allocations: 51.56 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.4804, allocations: 444 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005819/0.481, allocations: 0.5108 MB / 1.072 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.4812, allocations: 45.66 kB / 1.072 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.4814, allocations: 179.6 kB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.4816, allocations: 143.5 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.682e-05/0.4817, allocations: 51.94 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.4818, allocations: 63.98 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.4819, allocations: 39.84 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.4821, allocations: 167.4 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000484/0.4826, allocations: 494.9 kB / 1.073 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.4826, allocations: 4 kB / 1.073 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4826, allocations: 0 / 1.073 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.4826, allocations: 0 / 1.073 GB, free: 5.816 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008656/0.4835, allocations: 0.6378 MB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.4835, allocations: 8.031 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.4836, allocations: 32.73 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.4839, allocations: 219 kB / 1.074 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.4839, allocations: 16.31 kB / 1.074 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-05/0.484, allocations: 24.38 kB / 1.074 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.4842, allocations: 123.8 kB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4842, allocations: 192 / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.4843, allocations: 7.938 kB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.4843, allocations: 0 / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.4844, allocations: 59.91 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.4856, allocations: 0.8756 MB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.4858, allocations: 118.4 kB / 1.075 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.523e-05/0.4859, allocations: 55.42 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.4859, allocations: 0 / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002825/0.4862, allocations: 182.5 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.4862, allocations: 0 / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0004766/0.4867, allocations: 225.3 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.4868, allocations: 140.5 kB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.487, allocations: 240.9 kB / 1.076 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.222e-05/0.4871, allocations: 37.7 kB / 1.076 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.4872, allocations: 132.4 kB / 1.076 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.4873, allocations: 27.62 kB / 1.076 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.4874, allocations: 89.66 kB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.4876, allocations: 334.8 kB / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.4879, allocations: 148.2 kB / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004312/0.4884, allocations: 227.8 kB / 1.076 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004871/0.4888, allocations: 368.9 kB / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4889, allocations: 0 / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001044/0.4899, allocations: 0.5593 MB / 1.077 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.49, allocations: 130.8 kB / 1.077 GB, free: 372 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.49, allocations: 4 kB / 1.078 GB, free: 368 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.4901, allocations: 4 kB / 1.078 GB, free: 364 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.276e-05/0.4902, allocations: 15.92 kB / 1.078 GB, free: 348 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.4902, allocations: 7.938 kB / 1.078 GB, free: 340 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007243/0.4909, allocations: 119.9 kB / 1.078 GB, free: 220 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.341e-05/0.491, allocations: 27.98 kB / 1.078 GB, free: 192 kB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0002194/0.4912, allocations: 154.2 kB / 1.078 GB, free: 28 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.4913, allocations: 23.72 kB / 1.078 GB, free: 4 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.841e-05/0.4913, allocations: 29.17 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.4914, allocations: 4 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.4914, allocations: 3.984 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.4914, allocations: 7.938 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.4917, allocations: 253.5 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4917, allocations: 4 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.4918, allocations: 15.92 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.4918, allocations: 0 / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.4918, allocations: 12 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4918, allocations: 0 / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4918, allocations: 0 / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.4922, allocations: 223.2 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.4923, allocations: 92.92 kB / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.4923, allocations: 7.984 kB / 1.078 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.019e-05/0.4924, allocations: 8 kB / 1.078 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.4924, allocations: 15.92 kB / 1.078 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.4925, allocations: 12 kB / 1.078 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002378/0.4927, allocations: 164.5 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.4927, allocations: 0 / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003459/0.4931, allocations: 64 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002126/0.4933, allocations: 117.2 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007597/0.4941, allocations: 0.5364 MB / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4941, allocations: 0 / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.4942, allocations: 63.92 kB / 1.079 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.4946, allocations: 64.81 kB / 1.079 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006752/0.4953, allocations: 346.7 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/0.4959, allocations: 0.7281 MB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.476e-05/0.496, allocations: 18.3 kB / 1.081 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.4961, allocations: 31.42 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of SimCode: time 5.91e-07/0.4961, allocations: 0 / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of Templates: time 0.0102/0.5063, allocations: 4.563 MB / 1.085 GB, free: 8.5 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)