Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.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.Pulse,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.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,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.Pulse") [: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.769/1.769, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.0009999/0.0009998, allocations: 181.2 kB / 487 MB, free: 5.371 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.119/1.119, allocations: 221.3 MB / 0.7819 GB, free: 1.441 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.0008558/0.0008558, allocations: 100.7 kB / 0.9213 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.372e-06/6.392e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1876, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5021/0.6897, allocations: 148.8 MB / 1.351 GB, free: 16.17 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001747/0.6899, allocations: 71.11 kB / 1.351 GB, free: 16.17 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.04604/0.7359, allocations: 17.16 MB / 1.367 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.736, allocations: 4 kB / 1.367 GB, free: 9.688 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.0006529/0.7366, allocations: 0.9547 MB / 1.368 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.7367, allocations: 9.031 kB / 1.368 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.7368, allocations: 71.61 kB / 1.368 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.737, allocations: 210.1 kB / 1.369 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.737, allocations: 7.984 kB / 1.369 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.7371, allocations: 63.8 kB / 1.369 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.338e-05/0.7372, allocations: 37.5 kB / 1.369 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.7374, allocations: 208.3 kB / 1.369 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.7374, allocations: 0 / 1.369 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.7374, allocations: 7.984 kB / 1.369 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.7375, allocations: 4 kB / 1.369 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006667/0.7381, allocations: 0.8168 MB / 1.37 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.7383, allocations: 300.8 kB / 1.37 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.707e-05/0.7384, allocations: 131.9 kB / 1.37 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.7384, allocations: 7.984 kB / 1.37 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002626/0.7387, allocations: 352.4 kB / 1.37 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=45): time 1.623e-06/0.7387, allocations: 0 / 1.37 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of matching and sorting (n=45): time 0.0005349/0.7392, allocations: 356.6 kB / 1.371 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.7393, allocations: 434 kB / 1.371 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.7395, allocations: 246 kB / 1.371 GB, free: 5.309 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/0.7396, allocations: 60.81 kB / 1.372 GB, free: 5.25 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.7397, allocations: 139.1 kB / 1.372 GB, free: 5.125 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.406e-05/0.7398, allocations: 90.05 kB / 1.372 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.7399, allocations: 23.81 kB / 1.372 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.368e-05/0.7399, allocations: 358.2 kB / 1.372 GB, free: 4.699 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006194/0.7406, allocations: 358.6 kB / 1.372 GB, free: 4.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006674/0.7412, allocations: 0.6409 MB / 1.373 GB, free: 3.848 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.7429, allocations: 0.5226 MB / 1.374 GB, free: 3.426 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.7429, allocations: 4 kB / 1.374 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002844/0.7458, allocations: 1.257 MB / 1.375 GB, free: 2.402 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.7458, allocations: 4 kB / 1.375 GB, free: 2.398 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.7458, allocations: 8 kB / 1.375 GB, free: 2.391 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.7458, allocations: 17.06 kB / 1.375 GB, free: 2.375 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.397e-05/0.7459, allocations: 30.8 kB / 1.375 GB, free: 2.348 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.7459, allocations: 23.86 kB / 1.375 GB, free: 2.324 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/0.7479, allocations: 0.592 MB / 1.375 GB, free: 1.734 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.7481, allocations: 91.3 kB / 1.376 GB, free: 1.656 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.0001751/0.7483, allocations: 185 kB / 1.376 GB, free: 1.48 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.7483, allocations: 43.52 kB / 1.376 GB, free: 1.438 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.249e-05/0.7484, allocations: 36.11 kB / 1.376 GB, free: 1.418 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.7484, allocations: 8 kB / 1.376 GB, free: 1.41 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.7484, allocations: 4 kB / 1.376 GB, free: 1.406 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.7484, allocations: 4 kB / 1.376 GB, free: 1.402 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.7486, allocations: 292.9 kB / 1.376 GB, free: 1.129 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.7487, allocations: 4 kB / 1.376 GB, free: 1.125 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.87e-05/0.7487, allocations: 15.92 kB / 1.376 GB, free: 1.109 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.7487, allocations: 8 kB / 1.376 GB, free: 1.102 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.7487, allocations: 15.73 kB / 1.376 GB, free: 1.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-06/0.7487, allocations: 19.92 kB / 1.376 GB, free: 1.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.7487, allocations: 4 kB / 1.376 GB, free: 1.066 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003846/0.7491, allocations: 0.5738 MB / 1.377 GB, free: 436 kB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.7492, allocations: 116.6 kB / 1.377 GB, free: 300 kB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.7492, allocations: 11.42 kB / 1.377 GB, free: 292 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.7493, allocations: 8 kB / 1.377 GB, free: 284 kB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.7494, allocations: 53.31 kB / 1.377 GB, free: 248 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.7494, allocations: 27.11 kB / 1.377 GB, free: 224 kB / 0.8073 GB Notification: Performance of sort global known variables: time 8.724e-05/0.7495, allocations: 175.6 kB / 1.377 GB, free: 76 kB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005796/0.7501, allocations: 183.4 kB / 1.377 GB, free: 15.89 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.0001635/0.7503, allocations: 131.3 kB / 1.377 GB, free: 15.76 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001222/0.7515, allocations: 1.096 MB / 1.378 GB, free: 14.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.7515, allocations: 3.5 kB / 1.378 GB, free: 14.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.7517, allocations: 160.5 kB / 1.379 GB, free: 14.68 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.7522, allocations: 101.9 kB / 1.379 GB, free: 14.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007026/0.753, allocations: 489.6 kB / 1.379 GB, free: 14.12 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/0.7533, allocations: 0.8145 MB / 1.38 GB, free: 13.29 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.7533, allocations: 0 / 1.38 GB, free: 13.29 MB / 0.823 GB Notification: Performance of Templates: time 0.0124/0.7657, allocations: 9.912 MB / 1.39 GB, free: 3.523 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches