Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.715/1.715, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.0009126/0.0009127, allocations: 177.3 kB / 490.8 MB, free: 1.926 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.061/1.061, allocations: 221.4 MB / 0.7863 GB, free: 13.63 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.0008075/0.0008075, allocations: 87.92 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.502e-06/6.522e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1654, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4505/0.616, allocations: 149.6 MB / 1.358 GB, free: 17.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001701/0.6162, allocations: 73.91 kB / 1.358 GB, free: 17.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.04516/0.6613, allocations: 17.16 MB / 1.375 GB, free: 16.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.6614, allocations: 3.469 kB / 1.375 GB, free: 16.2 MB / 0.823 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.0006993/0.6621, allocations: 0.9621 MB / 1.375 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.6621, allocations: 8.875 kB / 1.375 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.6623, allocations: 61.66 kB / 1.376 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.6624, allocations: 207.4 kB / 1.376 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.6625, allocations: 13.8 kB / 1.376 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.6626, allocations: 71.25 kB / 1.376 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.083e-05/0.6627, allocations: 36.11 kB / 1.376 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.6629, allocations: 207.6 kB / 1.376 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.6629, allocations: 5.188 kB / 1.376 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.6629, allocations: 9.031 kB / 1.376 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.663, allocations: 6 kB / 1.376 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008384/0.6638, allocations: 0.8043 MB / 1.377 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.664, allocations: 318.2 kB / 1.377 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.757e-05/0.6641, allocations: 120 kB / 1.377 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.6641, allocations: 12.05 kB / 1.377 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003152/0.6644, allocations: 343.1 kB / 1.378 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 2.235e-06/0.6644, allocations: 0.8438 kB / 1.378 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.0006202/0.665, allocations: 353.5 kB / 1.378 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.6651, allocations: 446.4 kB / 1.378 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.6653, allocations: 246.6 kB / 1.379 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.6654, allocations: 54.92 kB / 1.379 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.6656, allocations: 137.4 kB / 1.379 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.038e-05/0.6656, allocations: 88.72 kB / 1.379 GB, free: 29 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.6658, allocations: 28.94 kB / 1.379 GB, free: 29 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.6659, allocations: 349.3 kB / 1.379 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006558/0.6665, allocations: 372.5 kB / 1.38 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000697/0.6672, allocations: 0.6377 MB / 1.38 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.669, allocations: 0.5252 MB / 1.381 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.669, allocations: 3.469 kB / 1.381 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002978/0.672, allocations: 1.26 MB / 1.382 GB, free: 27.72 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.672, allocations: 4.781 kB / 1.382 GB, free: 27.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.672, allocations: 10.91 kB / 1.382 GB, free: 27.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.672, allocations: 18.56 kB / 1.382 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.831e-05/0.6721, allocations: 34.53 kB / 1.382 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.6721, allocations: 18.09 kB / 1.382 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/0.6742, allocations: 0.5851 MB / 1.383 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/0.6744, allocations: 89.55 kB / 1.383 GB, free: 27.48 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.0001957/0.6746, allocations: 178.3 kB / 1.383 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.825e-05/0.6747, allocations: 47.39 kB / 1.383 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.414e-05/0.6748, allocations: 39.8 kB / 1.383 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.6748, allocations: 7.469 kB / 1.383 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.6748, allocations: 9.031 kB / 1.383 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.6748, allocations: 7.328 kB / 1.383 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.675, allocations: 286.5 kB / 1.383 GB, free: 27.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.675, allocations: 2.625 kB / 1.383 GB, free: 27.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.6751, allocations: 18.27 kB / 1.383 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.6751, allocations: 6.656 kB / 1.383 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.6751, allocations: 21.7 kB / 1.383 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.309e-06/0.6751, allocations: 5.281 kB / 1.383 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.6751, allocations: 8 kB / 1.383 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004081/0.6756, allocations: 0.5805 MB / 1.384 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.6756, allocations: 105.9 kB / 1.384 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.6757, allocations: 17.02 kB / 1.384 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.6758, allocations: 13.02 kB / 1.384 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/0.6758, allocations: 51 kB / 1.384 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.6759, allocations: 27.95 kB / 1.384 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001073/0.676, allocations: 167.8 kB / 1.384 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005619/0.6766, allocations: 177.1 kB / 1.384 GB, free: 26.35 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.0001373/0.6767, allocations: 138.2 kB / 1.385 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00114/0.6778, allocations: 1.089 MB / 1.386 GB, free: 25.69 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6779, allocations: 1.062 kB / 1.386 GB, free: 25.69 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.678, allocations: 169.8 kB / 1.386 GB, free: 25.67 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.6786, allocations: 103 kB / 1.386 GB, free: 25.63 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006185/0.6792, allocations: 476.6 kB / 1.386 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/0.6795, allocations: 0.8175 MB / 1.387 GB, free: 24.6 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/0.6795, allocations: 0 / 1.387 GB, free: 24.6 MB / 0.8386 GB Notification: Performance of Templates: time 0.01164/0.6911, allocations: 9.929 MB / 1.397 GB, free: 19.52 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches