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.453/2.453, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.0009503/0.0009503, allocations: 183 kB / 492.3 MB, free: 0.6289 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.541/1.541, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0009509/0.0009509, allocations: 91.89 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.435e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3064, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9917/1.298, allocations: 149.5 MB / 1.358 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/1.298, allocations: 74.8 kB / 1.359 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04621/1.345, allocations: 17.37 MB / 1.375 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.572e-06/1.345, allocations: 0 / 1.375 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.716e-05/1.345, allocations: 3.875 kB / 1.376 GB, free: 33.78 MB / 0.8386 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.0008158/1.346, allocations: 0.9634 MB / 1.376 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/1.346, allocations: 7.688 kB / 1.376 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/1.346, allocations: 62.3 kB / 1.377 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/1.346, allocations: 210.7 kB / 1.377 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/1.346, allocations: 50.61 kB / 1.377 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/1.346, allocations: 64.45 kB / 1.377 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/1.346, allocations: 212.3 kB / 1.377 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/1.346, allocations: 0 / 1.377 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/1.346, allocations: 7.828 kB / 1.377 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/1.346, allocations: 3.969 kB / 1.377 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.423e-05/1.347, allocations: 63.77 kB / 1.377 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007164/1.347, allocations: 0.8475 MB / 1.378 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/1.348, allocations: 321.8 kB / 1.378 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/1.348, allocations: 140.3 kB / 1.378 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.387e-06/1.348, allocations: 11.78 kB / 1.378 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004522/1.348, allocations: 452.4 kB / 1.379 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 1.753e-06/1.348, allocations: 0 / 1.379 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.00071/1.349, allocations: 456 kB / 1.379 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/1.349, allocations: 438.5 kB / 1.38 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/1.349, allocations: 256.8 kB / 1.38 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/1.349, allocations: 68.58 kB / 1.38 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/1.35, allocations: 162.3 kB / 1.38 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.189e-05/1.35, allocations: 91.16 kB / 1.38 GB, free: 30 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/1.35, allocations: 35.78 kB / 1.38 GB, free: 30 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.35, allocations: 353.3 kB / 1.381 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007138/1.351, allocations: 411.4 kB / 1.381 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000757/1.351, allocations: 0.6817 MB / 1.382 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00073/1.352, allocations: 0.8229 MB / 1.382 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.352, allocations: 0 / 1.382 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002173/1.354, allocations: 1.682 MB / 1.384 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001761/1.354, allocations: 478 kB / 1.385 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/1.354, allocations: 7.688 kB / 1.385 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/1.355, allocations: 15.5 kB / 1.385 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.4e-05/1.355, allocations: 34.67 kB / 1.385 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/1.355, allocations: 23.33 kB / 1.385 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/1.357, allocations: 0.5367 MB / 1.385 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/1.357, allocations: 97.98 kB / 1.385 GB, free: 27.23 MB / 0.8386 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 () * 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.0002821/1.357, allocations: 201.2 kB / 1.385 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.579e-05/1.357, allocations: 45.95 kB / 1.385 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.247e-05/1.357, allocations: 42.61 kB / 1.386 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/1.357, allocations: 7.219 kB / 1.386 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/1.357, allocations: 3.688 kB / 1.386 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/1.357, allocations: 7.797 kB / 1.386 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/1.358, allocations: 331 kB / 1.386 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.358, allocations: 3.844 kB / 1.386 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.392e-05/1.358, allocations: 22.89 kB / 1.386 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/1.358, allocations: 7.688 kB / 1.386 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/1.358, allocations: 14.77 kB / 1.386 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/1.358, allocations: 15.52 kB / 1.386 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.358, allocations: 7.781 kB / 1.386 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005535/1.358, allocations: 0.6694 MB / 1.387 GB, free: 26.28 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/1.358, allocations: 112.2 kB / 1.387 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/1.358, allocations: 18.39 kB / 1.387 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.902e-05/1.359, allocations: 11.33 kB / 1.387 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.63e-05/1.359, allocations: 60.77 kB / 1.387 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/1.359, allocations: 33.64 kB / 1.387 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001351/1.359, allocations: 192.4 kB / 1.387 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.359, allocations: 0 / 1.387 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005886/1.359, allocations: 200.8 kB / 1.387 GB, free: 26.02 MB / 0.8386 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 () * 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.0002043/1.36, allocations: 135.7 kB / 1.387 GB, free: 25.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001516/1.361, allocations: 1.73 MB / 1.389 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.361, allocations: 0 / 1.389 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/1.361, allocations: 174.5 kB / 1.389 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000569/1.362, allocations: 118.7 kB / 1.389 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006726/1.363, allocations: 0.4981 MB / 1.39 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/1.363, allocations: 0.7817 MB / 1.391 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001131/1.363, allocations: 41.86 kB / 1.391 GB, free: 23.76 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.548e-05/1.363, allocations: 37.98 kB / 1.391 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of SimCode: time 8.02e-07/1.363, allocations: 0 / 1.391 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of Templates: time 0.01561/1.379, allocations: 10.86 MB / 1.401 GB, free: 18.2 MB / 0.8386 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