Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") [: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 7.0.3-maint.7.0.x/package.mo): time 1.332/1.332, allocations: 249.4 MB / 256.7 MB, free: 6.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001418/0.001418, allocations: 184.2 kB / 316 MB, free: 3.598 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.1 MB / 0.5667 GB, free: 15.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008919/0.0008919, allocations: 89.58 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.283e-05/1.286e-05, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2261, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6301/0.8562, allocations: 131.7 MB / 1.013 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.8565, allocations: 69.2 kB / 1.013 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001609/0.8581, allocations: 373.6 kB / 1.014 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.8581, allocations: 0 / 1.014 GB, free: 6.633 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003691/0.8585, allocations: 339.1 kB / 1.014 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.8586, allocations: 8.031 kB / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.8586, allocations: 0 / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.8587, allocations: 175.7 kB / 1.014 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.8588, allocations: 0 / 1.014 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.8588, allocations: 3.984 kB / 1.014 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.45e-05/0.8589, allocations: 7.25 kB / 1.014 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.246e-05/0.859, allocations: 40.94 kB / 1.014 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.859, allocations: 0 / 1.014 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.859, allocations: 4 kB / 1.014 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.859, allocations: 0 / 1.014 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.8594, allocations: 259.9 kB / 1.014 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.786e-05/0.8595, allocations: 26.02 kB / 1.014 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.124e-05/0.8595, allocations: 12.42 kB / 1.014 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.8596, allocations: 4 kB / 1.014 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.8596, allocations: 30.56 kB / 1.014 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.8596, allocations: 0 / 1.014 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001629/0.8598, allocations: 37.64 kB / 1.015 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.8598, allocations: 55.44 kB / 1.015 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.529e-05/0.8599, allocations: 99.62 kB / 1.015 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.8599, allocations: 25.7 kB / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.86, allocations: 83.2 kB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.86, allocations: 7.906 kB / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/0.86, allocations: 0 / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.8602, allocations: 314.2 kB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.8602, allocations: 7.938 kB / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.028e-05/0.8602, allocations: 4 kB / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.898e-05/0.8602, allocations: 10.86 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.8602, allocations: 0 / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.511e-05/0.8603, allocations: 37.33 kB / 1.015 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.8603, allocations: 8 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.8603, allocations: 0 / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.8604, allocations: 0 / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.8605, allocations: 16.08 kB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.8605, allocations: 3.906 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.684e-05/0.8606, allocations: 11.98 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.8606, allocations: 0 / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 6.919e-05/0.8606, allocations: 101 kB / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.8607, allocations: 4 kB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.8608, allocations: 63.67 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.8608, allocations: 0 / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.8608, allocations: 0 / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.8608, allocations: 0 / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.861, allocations: 130.2 kB / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.861, allocations: 3.938 kB / 1.015 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.202e-05/0.861, allocations: 19.8 kB / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.8611, allocations: 0 / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.8611, allocations: 4.031 kB / 1.015 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.8611, allocations: 0 / 1.015 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.8611, allocations: 3.906 kB / 1.015 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001185/0.8612, allocations: 138.8 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.245e-05/0.8613, allocations: 81.02 kB / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.8613, allocations: 0 / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-05/0.8614, allocations: 19.95 kB / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.8614, allocations: 0 / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.8614, allocations: 0 / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.959e-05/0.8615, allocations: 82.22 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002023/0.8617, allocations: 4 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001577/0.8618, allocations: 99.23 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.628e-05/0.8619, allocations: 15.56 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8619, allocations: 0 / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.097e-05/0.862, allocations: 11.31 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.8621, allocations: 0 / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002212/0.8624, allocations: 62.91 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.8627, allocations: 0.688 MB / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/0.8627, allocations: 0 / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of Templates: time 0.002161/0.8648, allocations: 406.5 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches