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.AddParameter.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.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.322/1.322, allocations: 249.4 MB / 256.7 MB, free: 6.969 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.001082/0.001082, allocations: 189.2 kB / 316 MB, free: 3.543 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.528/1.528, 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.001063/0.001063, allocations: 97.38 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.2e-05/1.203e-05, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2042, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5876/0.7919, allocations: 131.6 MB / 1.013 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.7922, allocations: 69.41 kB / 1.013 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001505/0.7937, allocations: 337.8 kB / 1.013 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.7937, allocations: 0 / 1.013 GB, free: 7.031 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.0003359/0.7941, allocations: 341.3 kB / 1.014 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.7941, allocations: 11.97 kB / 1.014 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.7941, allocations: 4 kB / 1.014 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.7943, allocations: 170.9 kB / 1.014 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.7943, allocations: 0 / 1.014 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.7943, allocations: 4 kB / 1.014 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.065e-05/0.7944, allocations: 11.17 kB / 1.014 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.489e-05/0.7945, allocations: 37.19 kB / 1.014 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.7945, allocations: 4 kB / 1.014 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.7945, allocations: 0 / 1.014 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.7945, allocations: 4 kB / 1.014 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.7949, allocations: 251.2 kB / 1.014 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.704e-05/0.7949, allocations: 29.33 kB / 1.014 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.632e-05/0.795, allocations: 11.48 kB / 1.014 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.795, allocations: 0 / 1.014 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.795, allocations: 30.56 kB / 1.014 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.795, allocations: 0 / 1.014 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001292/0.7951, allocations: 44.86 kB / 1.014 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.7952, allocations: 54.14 kB / 1.014 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.918e-05/0.7952, allocations: 103.7 kB / 1.015 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.7953, allocations: 25.7 kB / 1.015 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.974e-05/0.7953, allocations: 80.14 kB / 1.015 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.7953, allocations: 8.594 kB / 1.015 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.7953, allocations: 0 / 1.015 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.7955, allocations: 318.4 kB / 1.015 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.7955, allocations: 4.031 kB / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.335e-05/0.7955, allocations: 7.5 kB / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.7e-05/0.7955, allocations: 7.984 kB / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.7955, allocations: 0 / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.75e-05/0.7956, allocations: 45.11 kB / 1.015 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.7956, allocations: 10.44 kB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.7956, allocations: 0 / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.7956, allocations: 0 / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.7957, allocations: 16.08 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.7958, allocations: 0 / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.78e-05/0.7958, allocations: 15.17 kB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.7958, allocations: 0 / 1.015 GB, free: 5.27 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 5.917e-05/0.7959, allocations: 105 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.7959, allocations: 4.156 kB / 1.015 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.796, allocations: 11.58 kB / 1.015 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.796, allocations: 3.938 kB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.796, allocations: 4 kB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.796, allocations: 4 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.7961, allocations: 147.7 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.7961, allocations: 0 / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.503e-05/0.7962, allocations: 8 kB / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.7962, allocations: 4 kB / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.7962, allocations: 0 / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.7962, allocations: 0 / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-05/0.7962, allocations: 7.984 kB / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.82e-05/0.7963, allocations: 133.5 kB / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.7964, allocations: 77.11 kB / 1.016 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.7964, allocations: 4 kB / 1.016 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.852e-05/0.7965, allocations: 12.02 kB / 1.016 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.7965, allocations: 7.906 kB / 1.016 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.7966, allocations: 0 / 1.016 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.49e-05/0.7966, allocations: 86.52 kB / 1.016 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001982/0.7968, allocations: 4 kB / 1.016 GB, free: 4.594 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.0001203/0.7969, allocations: 103.2 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.759e-05/0.797, allocations: 15.31 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.797, allocations: 0 / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.033e-05/0.797, allocations: 7.125 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.7972, allocations: 7.266 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001813/0.7974, allocations: 59.34 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.7977, allocations: 0.6919 MB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/0.7977, allocations: 0 / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of Templates: time 0.001944/0.7996, allocations: 430 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches