Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.PulsePositiveStartTime,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.PulsePositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,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.PulsePositiveStartTime") [: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.786/1.786, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.0009632/0.0009629, allocations: 188.6 kB / 487 MB, free: 5.387 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.126/1.126, allocations: 221.3 MB / 0.7819 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008488/0.0008489, allocations: 95.95 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 4.248e-06/4.268e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1787, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5006/0.6793, allocations: 148.8 MB / 1.351 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001754/0.6795, allocations: 71.72 kB / 1.351 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.04619/0.7257, allocations: 17.15 MB / 1.367 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.7258, allocations: 4 kB / 1.367 GB, free: 9.418 MB / 0.8073 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.0006897/0.7265, allocations: 0.9611 MB / 1.368 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.7265, allocations: 12.03 kB / 1.368 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.7267, allocations: 63.62 kB / 1.368 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.7268, allocations: 214.7 kB / 1.369 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.7268, allocations: 8 kB / 1.369 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.727, allocations: 67.36 kB / 1.369 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.888e-05/0.7271, allocations: 38.86 kB / 1.369 GB, free: 7.961 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.7272, allocations: 206.3 kB / 1.369 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.7273, allocations: 7.938 kB / 1.369 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.7273, allocations: 7.375 kB / 1.369 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.7273, allocations: 0 / 1.369 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006365/0.7279, allocations: 0.8115 MB / 1.37 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.7281, allocations: 304.5 kB / 1.37 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.427e-05/0.7282, allocations: 129.8 kB / 1.37 GB, free: 6.426 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.7282, allocations: 7.438 kB / 1.37 GB, free: 6.422 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002589/0.7285, allocations: 352.4 kB / 1.37 GB, free: 6.055 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=45): time 1.643e-06/0.7285, allocations: 0 / 1.37 GB, free: 6.055 MB / 0.8073 GB Notification: Performance of matching and sorting (n=45): time 0.0005291/0.729, allocations: 355.8 kB / 1.371 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.7291, allocations: 437.7 kB / 1.371 GB, free: 5.234 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.7292, allocations: 242.3 kB / 1.371 GB, free: 5.035 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.7294, allocations: 57.08 kB / 1.372 GB, free: 4.977 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.7295, allocations: 139 kB / 1.372 GB, free: 4.852 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.7295, allocations: 93.41 kB / 1.372 GB, free: 4.785 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.7296, allocations: 27.12 kB / 1.372 GB, free: 4.762 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.011e-05/0.7297, allocations: 348.9 kB / 1.372 GB, free: 4.43 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006707/0.7304, allocations: 367.7 kB / 1.372 GB, free: 4.203 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000672/0.7311, allocations: 0.6358 MB / 1.373 GB, free: 3.578 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.7327, allocations: 0.5268 MB / 1.374 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.7328, allocations: 4 kB / 1.374 GB, free: 3.148 MB / 0.8073 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00286/0.7356, allocations: 1.255 MB / 1.375 GB, free: 2.133 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.7356, allocations: 4 kB / 1.375 GB, free: 2.129 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.7357, allocations: 15.98 kB / 1.375 GB, free: 2.113 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.7357, allocations: 17 kB / 1.375 GB, free: 2.098 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.384e-05/0.7357, allocations: 27.86 kB / 1.375 GB, free: 2.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.7357, allocations: 15.94 kB / 1.375 GB, free: 2.055 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/0.7378, allocations: 0.592 MB / 1.375 GB, free: 1.469 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.7379, allocations: 94.59 kB / 1.376 GB, free: 1.383 MB / 0.8073 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.0001692/0.7381, allocations: 178.9 kB / 1.376 GB, free: 1.211 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.7382, allocations: 43.03 kB / 1.376 GB, free: 1.172 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.7382, allocations: 35.92 kB / 1.376 GB, free: 1.148 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.7383, allocations: 8 kB / 1.376 GB, free: 1.141 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.7383, allocations: 4 kB / 1.376 GB, free: 1.137 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.7383, allocations: 7.984 kB / 1.376 GB, free: 1.129 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.7385, allocations: 291.5 kB / 1.376 GB, free: 0.8594 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.7385, allocations: 8 kB / 1.376 GB, free: 0.8516 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.792e-05/0.7386, allocations: 19.92 kB / 1.376 GB, free: 0.832 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.7386, allocations: 4 kB / 1.376 GB, free: 0.8281 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.7386, allocations: 18.92 kB / 1.376 GB, free: 0.8125 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.7386, allocations: 4 kB / 1.376 GB, free: 0.8086 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.7386, allocations: 11.88 kB / 1.376 GB, free: 0.7969 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003688/0.739, allocations: 0.576 MB / 1.377 GB, free: 156 kB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.542e-05/0.739, allocations: 112.2 kB / 1.377 GB, free: 28 kB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.7391, allocations: 11.98 kB / 1.377 GB, free: 16 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.7392, allocations: 7.984 kB / 1.377 GB, free: 8 kB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.7393, allocations: 54.3 kB / 1.377 GB, free: 15.97 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.7393, allocations: 31.8 kB / 1.377 GB, free: 15.94 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001209/0.7395, allocations: 184.4 kB / 1.377 GB, free: 15.79 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005676/0.74, allocations: 171.4 kB / 1.377 GB, free: 15.62 MB / 0.823 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.0001606/0.7402, allocations: 133.9 kB / 1.377 GB, free: 15.48 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.7415, allocations: 1.092 MB / 1.378 GB, free: 14.53 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7415, allocations: 0 / 1.378 GB, free: 14.53 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.7417, allocations: 170.9 kB / 1.379 GB, free: 14.41 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/0.7422, allocations: 105.1 kB / 1.379 GB, free: 14.32 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006964/0.7429, allocations: 473.7 kB / 1.379 GB, free: 13.86 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/0.7433, allocations: 0.814 MB / 1.38 GB, free: 13.02 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.7433, allocations: 0 / 1.38 GB, free: 13.02 MB / 0.823 GB Notification: Performance of Templates: time 0.01313/0.7564, allocations: 9.925 MB / 1.39 GB, free: 3.258 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches