Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001953/0.001953, allocations: 194 kB / 16.14 MB, free: 6.656 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.532/1.532, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.031/3.031, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 66.59 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4569, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.002541/0.4595, allocations: 1.223 MB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002947/0.4624, allocations: 2.352 MB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.236e-05/0.4625, allocations: 0 / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.975e-05/0.4626, allocations: 7.875 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.4628, allocations: 83.38 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002835/0.4656, allocations: 1.31 MB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009303/0.4666, allocations: 1.049 MB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.472e-05/0.4667, allocations: 24.73 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.4671, allocations: 427.2 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003706/0.4675, allocations: 331.1 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.4677, allocations: 56 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.468, allocations: 79.98 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.849e-05/0.468, allocations: 59.75 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004333/0.4685, allocations: 347 kB / 1.075 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008275/0.4693, allocations: 0.9236 MB / 1.076 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4693, allocations: 0 / 1.076 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4693, allocations: 3.984 kB / 1.076 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.4693, allocations: 0 / 1.076 GB, free: 2.664 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001513/0.4708, allocations: 1.164 MB / 1.077 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4709, allocations: 8.031 kB / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.4711, allocations: 64.64 kB / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.4713, allocations: 240.2 kB / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-05/0.4714, allocations: 32.38 kB / 1.077 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.4715, allocations: 64.36 kB / 1.077 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.4718, allocations: 217.1 kB / 1.077 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4718, allocations: 8.188 kB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.4719, allocations: 11.92 kB / 1.077 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.4719, allocations: 0 / 1.077 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.472, allocations: 67.78 kB / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008457/0.4729, allocations: 0.8483 MB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.4732, allocations: 327.3 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.4733, allocations: 132.8 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.4733, allocations: 11.98 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000645/0.474, allocations: 458.9 kB / 1.079 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 2.043e-06/0.474, allocations: 0 / 1.079 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001004/0.475, allocations: 0.5609 MB / 1.08 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002415/0.4753, allocations: 439.2 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.4755, allocations: 296.3 kB / 1.08 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.4757, allocations: 61.7 kB / 1.08 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.4759, allocations: 165.3 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.229e-05/0.476, allocations: 94.84 kB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004635/0.4764, allocations: 274.1 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4766, allocations: 354.8 kB / 1.081 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008553/0.4775, allocations: 425.2 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.4785, allocations: 0.7028 MB / 1.082 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.4798, allocations: 1.192 MB / 1.084 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.056e-06/0.4798, allocations: 8 kB / 1.084 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00295/0.4828, allocations: 1.717 MB / 1.085 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002616/0.4831, allocations: 489.4 kB / 1.086 GB, free: 7.051 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.4831, allocations: 8 kB / 1.086 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.017e-05/0.4831, allocations: 15.94 kB / 1.086 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.4832, allocations: 35.86 kB / 1.086 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.657e-05/0.4833, allocations: 20.64 kB / 1.086 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/0.4856, allocations: 422.9 kB / 1.086 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.4858, allocations: 95.91 kB / 1.086 GB, free: 6.465 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0003315/0.4861, allocations: 217.6 kB / 1.086 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.577e-05/0.4862, allocations: 43.47 kB / 1.087 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.91e-05/0.4863, allocations: 42.14 kB / 1.087 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.4863, allocations: 8 kB / 1.087 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.4863, allocations: 8 kB / 1.087 GB, free: 6.137 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.4863, allocations: 7.984 kB / 1.087 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003676/0.4867, allocations: 325.4 kB / 1.087 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.4867, allocations: 7.938 kB / 1.087 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.4868, allocations: 19.92 kB / 1.087 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.4868, allocations: 7.938 kB / 1.087 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.4868, allocations: 27.98 kB / 1.087 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/0.4868, allocations: 4 kB / 1.087 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.4868, allocations: 7.984 kB / 1.087 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006568/0.4875, allocations: 0.5195 MB / 1.087 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.567e-05/0.4876, allocations: 116.5 kB / 1.088 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.4876, allocations: 19.98 kB / 1.088 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.4878, allocations: 15.98 kB / 1.088 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.631e-05/0.4878, allocations: 55.88 kB / 1.088 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.4879, allocations: 31.98 kB / 1.088 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001629/0.4881, allocations: 187.1 kB / 1.088 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4881, allocations: 0 / 1.088 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006586/0.4887, allocations: 200 kB / 1.088 GB, free: 4.48 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0002055/0.4889, allocations: 139.1 kB / 1.088 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002081/0.491, allocations: 1.746 MB / 1.09 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.491, allocations: 3.938 kB / 1.09 GB, free: 2.402 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.4913, allocations: 183.7 kB / 1.09 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000697/0.492, allocations: 123.8 kB / 1.09 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.493, allocations: 0.7034 MB / 1.091 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.4935, allocations: 0.7725 MB / 1.092 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001151/0.4936, allocations: 38.98 kB / 1.092 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.154e-05/0.4937, allocations: 43.36 kB / 1.092 GB, free: 460 kB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.4937, allocations: 0 / 1.092 GB, free: 460 kB / 0.8419 GB Notification: Performance of Templates: time 0.01913/0.5128, allocations: 11.38 MB / 1.103 GB, free: 5.23 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)