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") [: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 9.1.1-maint.9.1.x/package.mo): time 1.784/1.784, allocations: 387.2 MB / 394.5 MB, free: 1.629 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009551/0.000955, allocations: 185.3 kB / 487 MB, free: 9.812 MB / 398.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.118/1.118, allocations: 221.3 MB / 0.7819 GB, free: 5.438 MB / 0.545 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008084/0.0008084, allocations: 88.02 kB / 0.9213 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of FrontEnd - loaded program: time 6.622e-06/6.632e-06, allocations: 0 / 1.066 GB, free: 190 MB / 0.7637 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1742, allocations: 142.3 MB / 1.205 GB, free: 48.23 MB / 0.7637 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4864/0.6606, allocations: 148.8 MB / 1.351 GB, free: 17.83 MB / 0.8262 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001757/0.6608, allocations: 71.22 kB / 1.351 GB, free: 17.83 MB / 0.8262 GB Notification: Performance of FrontEnd: time 0.04454/0.7054, allocations: 17.15 MB / 1.367 GB, free: 16.74 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.7054, allocations: 3.812 kB / 1.367 GB, free: 16.74 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.0007661/0.7062, allocations: 0.9599 MB / 1.368 GB, free: 31.85 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.7062, allocations: 11.69 kB / 1.368 GB, free: 31.84 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.7064, allocations: 71.5 kB / 1.368 GB, free: 31.82 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.7065, allocations: 203.7 kB / 1.369 GB, free: 31.61 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.7066, allocations: 10.28 kB / 1.369 GB, free: 31.61 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.7067, allocations: 68.38 kB / 1.369 GB, free: 31.61 MB / 0.8419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.818e-05/0.7068, allocations: 35.7 kB / 1.369 GB, free: 31.61 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.707, allocations: 207.6 kB / 1.369 GB, free: 31.44 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.707, allocations: 3.938 kB / 1.369 GB, free: 31.44 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.707, allocations: 6.594 kB / 1.369 GB, free: 31.44 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.707, allocations: 4.625 kB / 1.369 GB, free: 31.44 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007535/0.7078, allocations: 0.8112 MB / 1.37 GB, free: 31.15 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.708, allocations: 307.5 kB / 1.37 GB, free: 30.78 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.208e-05/0.7081, allocations: 122.3 kB / 1.37 GB, free: 30.66 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.7081, allocations: 7.812 kB / 1.37 GB, free: 30.66 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002717/0.7083, allocations: 357 kB / 1.37 GB, free: 30.43 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 1.683e-06/0.7084, allocations: 3.938 kB / 1.37 GB, free: 30.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.0005572/0.7089, allocations: 351.4 kB / 1.371 GB, free: 30.36 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.709, allocations: 438.5 kB / 1.371 GB, free: 29.86 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.7092, allocations: 244 kB / 1.371 GB, free: 29.75 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.7093, allocations: 58.7 kB / 1.372 GB, free: 29.71 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.7095, allocations: 136 kB / 1.372 GB, free: 29.63 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.268e-05/0.7096, allocations: 89.08 kB / 1.372 GB, free: 29.59 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.7097, allocations: 30.7 kB / 1.372 GB, free: 29.58 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.7098, allocations: 353 kB / 1.372 GB, free: 29.27 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006853/0.7105, allocations: 363.3 kB / 1.372 GB, free: 29.27 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008782/0.7114, allocations: 0.6414 MB / 1.373 GB, free: 28.89 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.7133, allocations: 0.5236 MB / 1.374 GB, free: 28.86 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.944e-06/0.7134, allocations: 3.594 kB / 1.374 GB, free: 28.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003264/0.7166, allocations: 1.26 MB / 1.375 GB, free: 28.74 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.7167, allocations: 6.781 kB / 1.375 GB, free: 28.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.7167, allocations: 11.16 kB / 1.375 GB, free: 28.74 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.7167, allocations: 14.12 kB / 1.375 GB, free: 28.74 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.253e-05/0.7168, allocations: 32.5 kB / 1.375 GB, free: 28.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.7168, allocations: 19.08 kB / 1.375 GB, free: 28.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/0.7191, allocations: 0.5874 MB / 1.375 GB, free: 28.65 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/0.7193, allocations: 92.27 kB / 1.376 GB, free: 28.65 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 ($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.0002698/0.7196, allocations: 176.5 kB / 1.376 GB, free: 28.52 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.957e-05/0.7197, allocations: 50.36 kB / 1.376 GB, free: 28.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.257e-05/0.7197, allocations: 35.31 kB / 1.376 GB, free: 28.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.7198, allocations: 8.25 kB / 1.376 GB, free: 28.5 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.7198, allocations: 4.766 kB / 1.376 GB, free: 28.5 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.7198, allocations: 10.47 kB / 1.376 GB, free: 28.49 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.7201, allocations: 288 kB / 1.376 GB, free: 28.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.7201, allocations: 3.625 kB / 1.376 GB, free: 28.33 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.7202, allocations: 17.61 kB / 1.376 GB, free: 28.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.7202, allocations: 6.641 kB / 1.376 GB, free: 28.33 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.7202, allocations: 17.38 kB / 1.376 GB, free: 28.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.7202, allocations: 6.688 kB / 1.376 GB, free: 28.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.7202, allocations: 8.266 kB / 1.376 GB, free: 28.32 MB / 0.8419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004763/0.7207, allocations: 0.5754 MB / 1.377 GB, free: 27.88 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.7208, allocations: 113 kB / 1.377 GB, free: 27.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/0.7208, allocations: 10.97 kB / 1.377 GB, free: 27.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.7209, allocations: 11.66 kB / 1.377 GB, free: 27.76 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/0.721, allocations: 52.06 kB / 1.377 GB, free: 27.76 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/0.7211, allocations: 35.27 kB / 1.377 GB, free: 27.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 0.0001261/0.7212, allocations: 173.5 kB / 1.377 GB, free: 27.67 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006014/0.7218, allocations: 180.2 kB / 1.377 GB, free: 27.66 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 () * 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.0001702/0.722, allocations: 136.7 kB / 1.377 GB, free: 27.55 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001311/0.7233, allocations: 1.091 MB / 1.378 GB, free: 27.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.7233, allocations: 1.375 kB / 1.378 GB, free: 27.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.7235, allocations: 162.7 kB / 1.379 GB, free: 27.04 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005551/0.7241, allocations: 108.7 kB / 1.379 GB, free: 27.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006814/0.7248, allocations: 478.8 kB / 1.379 GB, free: 26.78 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003266/0.7251, allocations: 0.8148 MB / 1.38 GB, free: 26.07 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.7251, allocations: 0 / 1.38 GB, free: 26.07 MB / 0.8419 GB Notification: Performance of Templates: time 0.0142/0.7393, allocations: 9.922 MB / 1.39 GB, free: 21.66 MB / 0.8419 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