Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.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.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001524, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001728/0.001729, allocations: 195.8 kB / 16.14 MB, free: 6.688 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.58/1.58, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.964/2.964, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.73 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3926, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime): time 0.002893/0.3955, allocations: 1.21 MB / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00317/0.3987, allocations: 2.356 MB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.3989, allocations: 7.938 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.124e-05/0.399, allocations: 11.86 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.3992, allocations: 71.39 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003175/0.4024, allocations: 1.315 MB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00118/0.4036, allocations: 1.053 MB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.828e-05/0.4037, allocations: 28.72 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005444/0.4042, allocations: 419.2 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003569/0.4046, allocations: 339 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001786/0.4048, allocations: 60 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.405, allocations: 71.98 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.912e-05/0.4051, allocations: 51.84 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004364/0.4055, allocations: 347 kB / 1.075 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009175/0.4064, allocations: 0.9314 MB / 1.076 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.4065, allocations: 0 / 1.076 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4065, allocations: 0 / 1.076 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.4065, allocations: 4 kB / 1.076 GB, free: 2.613 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.00144/0.4079, allocations: 1.164 MB / 1.077 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.408, allocations: 12.03 kB / 1.077 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002227/0.4082, allocations: 60.66 kB / 1.077 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.4084, allocations: 228.2 kB / 1.077 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.4085, allocations: 36.36 kB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.4086, allocations: 68.36 kB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.4089, allocations: 207 kB / 1.077 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.409, allocations: 4.125 kB / 1.077 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.409, allocations: 15.92 kB / 1.077 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.409, allocations: 4 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.4091, allocations: 63.78 kB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.4102, allocations: 0.8444 MB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003926/0.4106, allocations: 327.2 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.4108, allocations: 140.8 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.4108, allocations: 4 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007498/0.4115, allocations: 470.8 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 1.963e-06/0.4116, allocations: 0 / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001108/0.4127, allocations: 0.5619 MB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002339/0.4129, allocations: 439.2 kB / 1.08 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.4132, allocations: 300.2 kB / 1.08 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001295/0.4133, allocations: 65.69 kB / 1.08 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.4136, allocations: 161.3 kB / 1.081 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.91e-05/0.4137, allocations: 98.84 kB / 1.081 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004943/0.4142, allocations: 274 kB / 1.081 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4143, allocations: 350.8 kB / 1.081 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008806/0.4152, allocations: 421.3 kB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.4163, allocations: 0.7066 MB / 1.082 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.4177, allocations: 1.187 MB / 1.084 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.4177, allocations: 4 kB / 1.084 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002952/0.4207, allocations: 1.721 MB / 1.085 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003109/0.421, allocations: 483.1 kB / 1.086 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.421, allocations: 12 kB / 1.086 GB, free: 7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/0.421, allocations: 16.16 kB / 1.086 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.729e-05/0.4211, allocations: 31.86 kB / 1.086 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.451e-05/0.4212, allocations: 23.86 kB / 1.086 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.4235, allocations: 422.9 kB / 1.086 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001891/0.4237, allocations: 95.92 kB / 1.086 GB, free: 6.422 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.0003728/0.4241, allocations: 217.6 kB / 1.086 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-05/0.4242, allocations: 47.45 kB / 1.087 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.189e-05/0.4243, allocations: 38.14 kB / 1.087 GB, free: 6.109 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.4243, allocations: 8 kB / 1.087 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.4243, allocations: 4 kB / 1.087 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.4243, allocations: 4 kB / 1.087 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.4247, allocations: 333.4 kB / 1.087 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.4248, allocations: 4 kB / 1.087 GB, free: 5.715 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/0.4248, allocations: 15.92 kB / 1.087 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.4248, allocations: 11.94 kB / 1.087 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.4248, allocations: 23.95 kB / 1.087 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/0.4249, allocations: 11.94 kB / 1.087 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4249, allocations: 0 / 1.087 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007308/0.4256, allocations: 0.5235 MB / 1.087 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-05/0.4257, allocations: 116.5 kB / 1.088 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.4258, allocations: 15.98 kB / 1.088 GB, free: 4.922 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.4259, allocations: 15.98 kB / 1.088 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.426, allocations: 67.75 kB / 1.088 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.407e-05/0.426, allocations: 27.98 kB / 1.088 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001694/0.4262, allocations: 199.1 kB / 1.088 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4262, allocations: 3.938 kB / 1.088 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000704/0.4269, allocations: 196 kB / 1.088 GB, free: 4.426 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.0002444/0.4272, allocations: 135.1 kB / 1.088 GB, free: 4.285 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002134/0.4293, allocations: 1.746 MB / 1.09 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4294, allocations: 0 / 1.09 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.4296, allocations: 177.6 kB / 1.09 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007508/0.4304, allocations: 133 kB / 1.09 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.4315, allocations: 0.6956 MB / 1.091 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.4319, allocations: 0.7764 MB / 1.092 GB, free: 496 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001633/0.4321, allocations: 42.97 kB / 1.092 GB, free: 452 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/0.4322, allocations: 39.42 kB / 1.092 GB, free: 412 kB / 0.8419 GB Notification: Performance of SimCode: time 3.6e-07/0.4322, allocations: 0 / 1.092 GB, free: 412 kB / 0.8419 GB Notification: Performance of Templates: time 0.0254/0.4576, allocations: 11.36 MB / 1.103 GB, free: 5.195 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1)