Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.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.Continuous.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.797/1.797, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.0009902/0.0009905, allocations: 177.3 kB / 487 MB, free: 5.324 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.134/1.134, allocations: 221.3 MB / 0.7819 GB, free: 1.344 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.0009767/0.0009767, allocations: 92.61 kB / 0.9213 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.566e-06/8.596e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1818, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5104/0.6922, allocations: 148 MB / 1.35 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001692/0.6925, allocations: 70.02 kB / 1.35 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.001239/0.6937, allocations: 305.6 kB / 1.35 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.6937, allocations: 2.031 kB / 1.35 GB, free: 15.89 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002433/0.694, allocations: 338.5 kB / 1.35 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.694, allocations: 8.094 kB / 1.35 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.694, allocations: 5.812 kB / 1.35 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.213e-05/0.6941, allocations: 170.2 kB / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.6941, allocations: 1.062 kB / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/0.6942, allocations: 4.875 kB / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.787e-05/0.6942, allocations: 11.25 kB / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.124e-05/0.6943, allocations: 36.14 kB / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.6943, allocations: 2.5 kB / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-06/0.6943, allocations: 0 / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.6943, allocations: 2.391 kB / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002906/0.6946, allocations: 243.1 kB / 1.351 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.171e-05/0.6947, allocations: 28.42 kB / 1.351 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.6947, allocations: 18.39 kB / 1.351 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.6947, allocations: 0 / 1.351 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.6947, allocations: 38.25 kB / 1.351 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.6947, allocations: 1.25 kB / 1.351 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001157/0.6948, allocations: 34.61 kB / 1.351 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.349e-05/0.6949, allocations: 55.88 kB / 1.351 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.169e-05/0.6949, allocations: 92.61 kB / 1.351 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.093e-06/0.6949, allocations: 25.7 kB / 1.351 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.78e-05/0.695, allocations: 88.55 kB / 1.351 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.695, allocations: 5.984 kB / 1.351 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-06/0.695, allocations: 4.031 kB / 1.351 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.584e-05/0.695, allocations: 317.4 kB / 1.352 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.695, allocations: 6.25 kB / 1.352 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.236e-05/0.6951, allocations: 12.05 kB / 1.352 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.362e-05/0.6951, allocations: 3.406 kB / 1.352 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6951, allocations: 0 / 1.352 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.643e-05/0.6951, allocations: 43.83 kB / 1.352 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.6952, allocations: 5.5 kB / 1.352 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.6952, allocations: 4.094 kB / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.6952, allocations: 1.375 kB / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.075e-05/0.6953, allocations: 15.33 kB / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.6953, allocations: 0 / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.6953, allocations: 9.969 kB / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-06/0.6953, allocations: 5.375 kB / 1.352 GB, free: 14.3 MB / 0.8073 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 3.416e-05/0.6954, allocations: 106.3 kB / 1.352 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.6954, allocations: 2.781 kB / 1.352 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.796e-05/0.6954, allocations: 6.312 kB / 1.352 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.6954, allocations: 1.375 kB / 1.352 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.6954, allocations: 1.203 kB / 1.352 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.6955, allocations: 1.688 kB / 1.352 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.48e-05/0.6955, allocations: 141.5 kB / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.6956, allocations: 1.375 kB / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.117e-05/0.6956, allocations: 19.38 kB / 1.352 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.6956, allocations: 1.375 kB / 1.352 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-06/0.6956, allocations: 0 / 1.352 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.6956, allocations: 0 / 1.352 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6956, allocations: 1.375 kB / 1.352 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.741e-05/0.6957, allocations: 139.3 kB / 1.352 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.6957, allocations: 78.08 kB / 1.352 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.6958, allocations: 4.938 kB / 1.352 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.411e-05/0.6958, allocations: 14.23 kB / 1.352 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.6959, allocations: 6.047 kB / 1.352 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.6959, allocations: 0.9688 kB / 1.352 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.727e-05/0.6959, allocations: 79.19 kB / 1.352 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001904/0.6961, allocations: 7.219 kB / 1.352 GB, free: 13.71 MB / 0.8073 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 9.545e-05/0.6962, allocations: 101.2 kB / 1.352 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.168e-05/0.6963, allocations: 15.69 kB / 1.352 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6963, allocations: 4.5 kB / 1.352 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.778e-05/0.6963, allocations: 4.594 kB / 1.352 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.6965, allocations: 1.906 kB / 1.352 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001565/0.6966, allocations: 62.56 kB / 1.352 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.6968, allocations: 0.6902 MB / 1.353 GB, free: 28.85 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.6968, allocations: 0 / 1.353 GB, free: 28.85 MB / 0.823 GB Notification: Performance of Templates: time 0.001788/0.6986, allocations: 409 kB / 1.353 GB, free: 28.8 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches