Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001231/0.001231, allocations: 108 kB / 15.6 MB, free: 132 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.001305/0.001305, allocations: 192.2 kB / 16.53 MB, free: 6.391 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.552/1.552, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.219/3.219, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.11 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3575, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime): time 0.002634/0.3602, allocations: 1.172 MB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003491/0.3637, allocations: 2.167 MB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000361/0.3642, allocations: 0 / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.3643, allocations: 19.69 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004167/0.3648, allocations: 95.19 kB / 1.072 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00341/0.3682, allocations: 1.365 MB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001528/0.3697, allocations: 1.295 MB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.388e-05/0.3698, allocations: 24.73 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006375/0.3705, allocations: 479.2 kB / 1.075 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004707/0.371, allocations: 347 kB / 1.075 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.3712, allocations: 104 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.3715, allocations: 116 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.175e-05/0.3716, allocations: 63.75 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000482/0.3721, allocations: 395 kB / 1.076 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.3731, allocations: 0.9626 MB / 1.077 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.3731, allocations: 0 / 1.077 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.535e-06/0.3731, allocations: 4 kB / 1.077 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.689e-05/0.3732, allocations: 0 / 1.077 GB, free: 1.82 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.001682/0.3749, allocations: 1.168 MB / 1.078 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.33e-05/0.3749, allocations: 8.031 kB / 1.078 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002382/0.3752, allocations: 64.66 kB / 1.078 GB, free: 448 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.3754, allocations: 228.3 kB / 1.078 GB, free: 184 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/0.3755, allocations: 40.3 kB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.3756, allocations: 64.36 kB / 1.078 GB, free: 80 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.376, allocations: 213.6 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3761, allocations: 4.125 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.3761, allocations: 15.92 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3761, allocations: 0 / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.3762, allocations: 63.78 kB / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.3773, allocations: 0.8522 MB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.3777, allocations: 327.3 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.3779, allocations: 140.8 kB / 1.08 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.3779, allocations: 7.938 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006236/0.3785, allocations: 470.9 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 3.316e-06/0.3785, allocations: 3.984 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001081/0.3796, allocations: 0.5578 MB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002205/0.3799, allocations: 435.2 kB / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.3801, allocations: 296.3 kB / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.3803, allocations: 69.69 kB / 1.081 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.3805, allocations: 161.3 kB / 1.082 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.3807, allocations: 94.86 kB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004697/0.3811, allocations: 278 kB / 1.082 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3813, allocations: 346.8 kB / 1.082 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008516/0.3821, allocations: 421.3 kB / 1.083 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.3834, allocations: 0.7106 MB / 1.083 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/0.3849, allocations: 1.191 MB / 1.085 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.3849, allocations: 4 kB / 1.085 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003045/0.388, allocations: 1.717 MB / 1.086 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003636/0.3883, allocations: 489.4 kB / 1.087 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.3884, allocations: 8 kB / 1.087 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.818e-05/0.3884, allocations: 16 kB / 1.087 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.345e-05/0.3885, allocations: 27.86 kB / 1.087 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.087e-05/0.3885, allocations: 19.92 kB / 1.087 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002588/0.3911, allocations: 422.9 kB / 1.087 GB, free: 5.715 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/0.3914, allocations: 99.92 kB / 1.087 GB, free: 5.617 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.0005081/0.3919, allocations: 221.5 kB / 1.087 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.392, allocations: 47.45 kB / 1.087 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.3922, allocations: 34.14 kB / 1.088 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.3922, allocations: 12 kB / 1.088 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.09e-05/0.3922, allocations: 4 kB / 1.088 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.3922, allocations: 8 kB / 1.088 GB, free: 5.285 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005364/0.3928, allocations: 333.4 kB / 1.088 GB, free: 4.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.3928, allocations: 4 kB / 1.088 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.3928, allocations: 19.92 kB / 1.088 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/0.3928, allocations: 7.938 kB / 1.088 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.3929, allocations: 19.98 kB / 1.088 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/0.3929, allocations: 15.91 kB / 1.088 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.3929, allocations: 4 kB / 1.088 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008944/0.3938, allocations: 0.5196 MB / 1.088 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.3939, allocations: 116.5 kB / 1.089 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/0.394, allocations: 15.98 kB / 1.089 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.3941, allocations: 15.98 kB / 1.089 GB, free: 4.098 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.3943, allocations: 67.81 kB / 1.089 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.3943, allocations: 27.98 kB / 1.089 GB, free: 4.004 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002235/0.3945, allocations: 191 kB / 1.089 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3946, allocations: 0 / 1.089 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007989/0.3954, allocations: 196 kB / 1.089 GB, free: 3.629 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.0003121/0.3957, allocations: 135.6 kB / 1.089 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002311/0.398, allocations: 1.77 MB / 1.091 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.398, allocations: 3.938 kB / 1.091 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.3983, allocations: 185.1 kB / 1.091 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008373/0.3992, allocations: 129 kB / 1.091 GB, free: 1.227 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.4003, allocations: 0.6342 MB / 1.092 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.4007, allocations: 0.7761 MB / 1.093 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001311/0.4009, allocations: 42.97 kB / 1.093 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.681e-05/0.401, allocations: 39.42 kB / 1.093 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of SimCode: time 9.02e-07/0.401, allocations: 0 / 1.093 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of Templates: time 0.02243/0.4234, allocations: 11.96 MB / 1.104 GB, free: 3.855 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1)