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.001364/0.001364, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001747/0.001747, allocations: 192.6 kB / 16.25 MB, free: 6.625 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.495/1.495, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.033/3.033, allocations: 472.6 MB / 0.7448 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 60.28 kB / 0.9115 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4732/0.4752, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.003585/0.4788, allocations: 1.021 MB / 1.069 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002694/0.4816, allocations: 1.432 MB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.4818, allocations: 0 / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.619e-05/0.482, allocations: 11.86 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.4823, allocations: 35.7 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.4838, allocations: 424.8 kB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007345/0.4845, allocations: 0.5147 MB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.4847, allocations: 45.66 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004216/0.4852, allocations: 191.5 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.4855, allocations: 139.5 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.4857, allocations: 48 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.4859, allocations: 63.98 kB / 1.072 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.33e-05/0.486, allocations: 35.86 kB / 1.072 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003278/0.4863, allocations: 171.4 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000848/0.4872, allocations: 491 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/0.4872, allocations: 4 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.466e-06/0.4872, allocations: 0 / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.947e-05/0.4872, allocations: 0 / 1.072 GB, free: 6.184 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.001629/0.4889, allocations: 0.6339 MB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.85e-05/0.4889, allocations: 12.03 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.4891, allocations: 24.75 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.4895, allocations: 222.9 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-05/0.4895, allocations: 16.38 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.614e-05/0.4897, allocations: 24.38 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/0.49, allocations: 126.6 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.49, allocations: 192 / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.49, allocations: 3.938 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.49, allocations: 7.984 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.4902, allocations: 51.92 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.4915, allocations: 0.8794 MB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.4917, allocations: 118.4 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.4918, allocations: 51.48 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.4919, allocations: 4 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003126/0.4922, allocations: 175.7 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.445e-06/0.4922, allocations: 0 / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0005224/0.4927, allocations: 229.6 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.012e-05/0.4928, allocations: 140.5 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.4931, allocations: 236.9 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.181e-05/0.4932, allocations: 37.7 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.4933, allocations: 132.5 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.4934, allocations: 27.61 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.4936, allocations: 101.6 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4937, allocations: 330.8 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.494, allocations: 148.2 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.4944, allocations: 222.7 kB / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/0.4948, allocations: 368.9 kB / 1.076 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.4948, allocations: 7.984 kB / 1.076 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009701/0.4958, allocations: 0.5506 MB / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.4959, allocations: 134.8 kB / 1.077 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.496, allocations: 4 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.496, allocations: 11.92 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.4961, allocations: 8 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.4961, allocations: 11.88 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007119/0.4968, allocations: 119.9 kB / 1.077 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-05/0.4969, allocations: 31.98 kB / 1.077 GB, free: 0.5469 MB / 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.0002275/0.4971, allocations: 153.7 kB / 1.077 GB, free: 396 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.4972, allocations: 19.72 kB / 1.077 GB, free: 376 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.747e-05/0.4973, allocations: 25.23 kB / 1.077 GB, free: 344 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.4973, allocations: 0 / 1.077 GB, free: 344 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.4973, allocations: 4 kB / 1.077 GB, free: 340 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.4973, allocations: 3.938 kB / 1.077 GB, free: 336 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.4976, allocations: 257.5 kB / 1.078 GB, free: 28 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4976, allocations: 0 / 1.078 GB, free: 28 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.4977, allocations: 11.98 kB / 1.078 GB, free: 16 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.4977, allocations: 0 / 1.078 GB, free: 16 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.4977, allocations: 12 kB / 1.078 GB, free: 4 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4977, allocations: 4 kB / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4977, allocations: 0 / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.4981, allocations: 219.2 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.231e-05/0.4982, allocations: 92.92 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.4983, allocations: 15.98 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.259e-05/0.4983, allocations: 0 / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.4984, allocations: 19.92 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.4984, allocations: 8 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001777/0.4986, allocations: 168.5 kB / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4986, allocations: 0 / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003799/0.499, allocations: 68 kB / 1.078 GB, free: 15.38 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.0002599/0.4993, allocations: 121 kB / 1.078 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008203/0.5001, allocations: 0.5332 MB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5001, allocations: 0 / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.5002, allocations: 64.58 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.5007, allocations: 68.89 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006978/0.5014, allocations: 390.7 kB / 1.079 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.5017, allocations: 0.7281 MB / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.613e-05/0.5018, allocations: 21.55 kB / 1.08 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.09e-05/0.5019, allocations: 23.36 kB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.5019, allocations: 0 / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of Templates: time 0.01001/0.5119, allocations: 4.542 MB / 1.085 GB, free: 8.848 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)