Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul_a1.y|booPul_a2.y|booPul_a3.y|booPul_a4.y|booPul_a5.y|booPul_b1.y|booPul_b2.y|booPul_b3.y|booPul_b4.y|booPul_b5.y|booPul_c1.y|booPul_c2.y|booPul_c3.y|booPul_c4.y|booPul_c5.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul_a1.y|booPul_a2.y|booPul_a3.y|booPul_a4.y|booPul_a5.y|booPul_b1.y|booPul_b2.y|booPul_b3.y|booPul_b4.y|booPul_b5.y|booPul_c1.y|booPul_c2.y|booPul_c3.y|booPul_c4.y|booPul_c5.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 181.8 kB / 498.1 MB, free: 5.719 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 223.2 MB / 0.7949 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009062/0.0009063, allocations: 100.3 kB / 0.9346 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.000404, allocations: 9.938 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2911, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1908/0.482, allocations: 149.6 MB / 1.369 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.4822, allocations: 75.95 kB / 1.369 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05075/0.533, allocations: 17.42 MB / 1.386 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5331, allocations: 4 kB / 1.386 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.758e-05/0.5331, allocations: 4 kB / 1.386 GB, free: 10.84 MB / 0.8855 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.001202/0.5343, allocations: 1.015 MB / 1.387 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.5344, allocations: 8.031 kB / 1.387 GB, free: 9.668 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.5346, allocations: 63.67 kB / 1.387 GB, free: 9.605 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.5348, allocations: 211.3 kB / 1.387 GB, free: 9.359 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.111e-05/0.5348, allocations: 35.98 kB / 1.387 GB, free: 9.324 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.535, allocations: 63.98 kB / 1.387 GB, free: 9.262 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.5353, allocations: 218.3 kB / 1.388 GB, free: 8.996 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.5353, allocations: 3.938 kB / 1.388 GB, free: 8.992 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.5354, allocations: 7.984 kB / 1.388 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.5354, allocations: 4 kB / 1.388 GB, free: 8.98 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.5355, allocations: 67.78 kB / 1.388 GB, free: 8.914 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.5365, allocations: 0.8406 MB / 1.389 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.5368, allocations: 327.2 kB / 1.389 GB, free: 7.523 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.5368, allocations: 12 kB / 1.389 GB, free: 7.512 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005752/0.5374, allocations: 455.1 kB / 1.389 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=45): time 2.054e-06/0.5374, allocations: 0 / 1.389 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45): time 0.0009663/0.5384, allocations: 0.5538 MB / 1.39 GB, free: 6.434 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002155/0.5386, allocations: 439.1 kB / 1.39 GB, free: 5.906 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.5389, allocations: 263.5 kB / 1.391 GB, free: 5.645 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001322/0.539, allocations: 65.7 kB / 1.391 GB, free: 5.574 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.5392, allocations: 165.2 kB / 1.391 GB, free: 5.406 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.483e-05/0.5393, allocations: 94.89 kB / 1.391 GB, free: 5.312 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.5394, allocations: 32 kB / 1.391 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5395, allocations: 358.8 kB / 1.391 GB, free: 4.922 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000814/0.5404, allocations: 425.3 kB / 1.392 GB, free: 4.504 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009171/0.5413, allocations: 0.695 MB / 1.392 GB, free: 3.672 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008743/0.5422, allocations: 0.818 MB / 1.393 GB, free: 2.762 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.5422, allocations: 8 kB / 1.393 GB, free: 2.754 MB / 0.8855 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003135/0.5453, allocations: 1.701 MB / 1.395 GB, free: 0.9531 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004027/0.5458, allocations: 481.5 kB / 1.395 GB, free: 400 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/0.5458, allocations: 12 kB / 1.395 GB, free: 388 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.122e-05/0.5459, allocations: 12 kB / 1.395 GB, free: 376 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.27e-05/0.546, allocations: 31.8 kB / 1.395 GB, free: 344 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.97e-05/0.546, allocations: 23.92 kB / 1.395 GB, free: 320 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003662/0.5497, allocations: 0.5389 MB / 1.396 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002929/0.55, allocations: 103.9 kB / 1.396 GB, free: 15.67 MB / 0.9011 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 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005464/0.5506, allocations: 217.5 kB / 1.396 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.5507, allocations: 51.5 kB / 1.396 GB, free: 15.4 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.5509, allocations: 38.14 kB / 1.396 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.5509, allocations: 8 kB / 1.396 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.772e-05/0.5509, allocations: 8 kB / 1.396 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.5509, allocations: 7.984 kB / 1.396 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005798/0.5515, allocations: 329.4 kB / 1.397 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.5515, allocations: 0 / 1.397 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.5516, allocations: 23.92 kB / 1.397 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/0.5516, allocations: 8 kB / 1.397 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.373e-05/0.5517, allocations: 15.98 kB / 1.397 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.397e-05/0.5517, allocations: 7.938 kB / 1.397 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.5517, allocations: 4 kB / 1.397 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.553, allocations: 0.6761 MB / 1.397 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.5531, allocations: 108.6 kB / 1.397 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.006e-05/0.5532, allocations: 19.98 kB / 1.397 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.5534, allocations: 19.98 kB / 1.397 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.5536, allocations: 59.83 kB / 1.397 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/0.5536, allocations: 27.98 kB / 1.398 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002391/0.5539, allocations: 187.1 kB / 1.398 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5539, allocations: 0 / 1.398 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001351/0.5552, allocations: 204 kB / 1.398 GB, free: 13.45 MB / 0.9011 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002852/0.5555, allocations: 150.8 kB / 1.398 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002963/0.5585, allocations: 1.746 MB / 1.4 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5585, allocations: 0 / 1.4 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003525/0.5589, allocations: 180.2 kB / 1.4 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008505/0.5598, allocations: 113.6 kB / 1.4 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.5611, allocations: 0.6814 MB / 1.401 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.5616, allocations: 0.7842 MB / 1.401 GB, free: 9.527 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001795/0.5618, allocations: 43.91 kB / 1.401 GB, free: 9.48 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.976e-05/0.5619, allocations: 39.42 kB / 1.402 GB, free: 9.441 MB / 0.9011 GB Notification: Performance of SimCode: time 1.783e-06/0.5619, allocations: 0 / 1.402 GB, free: 9.441 MB / 0.9011 GB Notification: Performance of Templates: time 0.02564/0.5875, allocations: 10.83 MB / 1.412 GB, free: 14.76 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches