Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.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.Continuous.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter") [: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.741/1.741, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.0009197/0.0009197, allocations: 189.2 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.079/1.079, allocations: 221.3 MB / 0.7863 GB, free: 13.77 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.0008374/0.0008373, allocations: 82.55 kB / 0.9264 GB, free: 14.29 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.065e-06/8.155e-06, allocations: 8 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.176, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4713/0.6473, allocations: 148.8 MB / 1.357 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001738/0.6475, allocations: 72.25 kB / 1.357 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.001227/0.6488, allocations: 300.1 kB / 1.357 GB, free: 17.42 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.6488, allocations: 1.031 kB / 1.357 GB, free: 17.42 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003128/0.6491, allocations: 336 kB / 1.358 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.6492, allocations: 12.41 kB / 1.358 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.6492, allocations: 10.48 kB / 1.358 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.735e-05/0.6493, allocations: 162.3 kB / 1.358 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.6493, allocations: 0 / 1.358 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.6493, allocations: 0.9375 kB / 1.358 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.786e-05/0.6494, allocations: 10.92 kB / 1.358 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.346e-05/0.6494, allocations: 35.36 kB / 1.358 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.6494, allocations: 0 / 1.358 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.6495, allocations: 5.828 kB / 1.358 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.6495, allocations: 0 / 1.358 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.6498, allocations: 243.1 kB / 1.358 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.384e-05/0.6498, allocations: 28.06 kB / 1.358 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/0.6499, allocations: 18.86 kB / 1.358 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.6499, allocations: 0 / 1.358 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.6499, allocations: 36.2 kB / 1.358 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.6499, allocations: 0 / 1.358 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001072/0.65, allocations: 38.94 kB / 1.358 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.589e-05/0.65, allocations: 52.2 kB / 1.358 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.951e-05/0.6501, allocations: 103.4 kB / 1.358 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.951e-06/0.6501, allocations: 25.7 kB / 1.358 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.6501, allocations: 85.97 kB / 1.358 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.6502, allocations: 6.016 kB / 1.358 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-06/0.6502, allocations: 3.938 kB / 1.358 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.238e-05/0.6503, allocations: 319.8 kB / 1.359 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.6503, allocations: 2.75 kB / 1.359 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.197e-05/0.6503, allocations: 7.328 kB / 1.359 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.328e-05/0.6503, allocations: 3.094 kB / 1.359 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.6503, allocations: 4.062 kB / 1.359 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.479e-05/0.6504, allocations: 49.22 kB / 1.359 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.806e-06/0.6504, allocations: 6.219 kB / 1.359 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.6504, allocations: 0 / 1.359 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.6504, allocations: 1.5 kB / 1.359 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/0.6505, allocations: 12.09 kB / 1.359 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.6505, allocations: 0 / 1.359 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.6506, allocations: 13.95 kB / 1.359 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.6506, allocations: 3.938 kB / 1.359 GB, free: 31.84 MB / 0.8386 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 4.614e-05/0.6506, allocations: 106.6 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.6507, allocations: 2.875 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.726e-05/0.6507, allocations: 4.922 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6507, allocations: 0 / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.6507, allocations: 9.062 kB / 1.359 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.6507, allocations: 0.7031 kB / 1.359 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.338e-05/0.6508, allocations: 143.1 kB / 1.359 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6508, allocations: 6.625 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.6509, allocations: 12.83 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.6509, allocations: 0 / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.6509, allocations: 0.9688 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6509, allocations: 0.6562 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6509, allocations: 4.969 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.926e-05/0.651, allocations: 139.7 kB / 1.359 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.651, allocations: 78.81 kB / 1.359 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.651, allocations: 1.094 kB / 1.359 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.058e-05/0.6511, allocations: 8.953 kB / 1.359 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.6511, allocations: 10.39 kB / 1.359 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.6511, allocations: 1.516 kB / 1.359 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.748e-05/0.6512, allocations: 82.52 kB / 1.359 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001823/0.6514, allocations: 4.156 kB / 1.359 GB, free: 31.24 MB / 0.8386 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.0001003/0.6515, allocations: 99.31 kB / 1.359 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.126e-05/0.6515, allocations: 15.97 kB / 1.359 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.6515, allocations: 0 / 1.359 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-05/0.6516, allocations: 9.125 kB / 1.359 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.6517, allocations: 6.531 kB / 1.359 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000153/0.6519, allocations: 57.58 kB / 1.36 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.6521, allocations: 0.6886 MB / 1.36 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of SimCode: time 2.11e-07/0.6521, allocations: 0 / 1.36 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of Templates: time 0.001733/0.6539, allocations: 416.8 kB / 1.361 GB, free: 30.33 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches