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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.399/2.399, allocations: 390.3 MB / 402.8 MB, free: 6.719 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.0009684/0.0009683, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 221.3 MB / 0.7915 GB, free: 5.414 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.000859/0.00086, allocations: 95.7 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.589e-05/2.591e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.363, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.163/1.526, allocations: 149.5 MB / 1.365 GB, free: 4.496 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/1.526, allocations: 67.33 kB / 1.365 GB, free: 4.461 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001789/1.528, allocations: 0.6066 MB / 1.365 GB, free: 3.895 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.265e-06/1.528, allocations: 4 kB / 1.365 GB, free: 3.891 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.719e-06/1.528, allocations: 0 / 1.365 GB, free: 3.891 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.0004249/1.529, allocations: 326.5 kB / 1.366 GB, free: 3.527 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/1.529, allocations: 12.03 kB / 1.366 GB, free: 3.516 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/1.529, allocations: 0 / 1.366 GB, free: 3.516 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/1.529, allocations: 175.5 kB / 1.366 GB, free: 3.305 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/1.529, allocations: 7.25 kB / 1.366 GB, free: 3.301 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/1.529, allocations: 4 kB / 1.366 GB, free: 3.297 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/1.529, allocations: 32.77 kB / 1.366 GB, free: 3.262 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/1.529, allocations: 0 / 1.366 GB, free: 3.262 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/1.529, allocations: 0 / 1.366 GB, free: 3.262 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.529, allocations: 0 / 1.366 GB, free: 3.262 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.522e-05/1.529, allocations: 19.05 kB / 1.366 GB, free: 3.246 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/1.53, allocations: 270.3 kB / 1.366 GB, free: 2.945 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.256e-05/1.53, allocations: 26.08 kB / 1.366 GB, free: 2.914 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.54e-05/1.53, allocations: 12.05 kB / 1.366 GB, free: 2.902 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/1.53, allocations: 4 kB / 1.366 GB, free: 2.898 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/1.53, allocations: 30.56 kB / 1.366 GB, free: 2.859 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/1.53, allocations: 0 / 1.366 GB, free: 2.859 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001711/1.53, allocations: 49.38 kB / 1.366 GB, free: 2.809 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/1.53, allocations: 51.41 kB / 1.366 GB, free: 2.746 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.043e-05/1.53, allocations: 101 kB / 1.367 GB, free: 2.645 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/1.53, allocations: 25.7 kB / 1.367 GB, free: 2.613 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/1.53, allocations: 91.58 kB / 1.367 GB, free: 2.523 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/1.53, allocations: 7.891 kB / 1.367 GB, free: 2.516 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/1.53, allocations: 0 / 1.367 GB, free: 2.516 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001092/1.53, allocations: 314.8 kB / 1.367 GB, free: 2.199 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/1.53, allocations: 6.594 kB / 1.367 GB, free: 2.195 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.246e-05/1.53, allocations: 9.156 kB / 1.367 GB, free: 2.191 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.203e-05/1.531, allocations: 4 kB / 1.367 GB, free: 2.188 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.531, allocations: 0 / 1.367 GB, free: 2.188 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.15e-05/1.531, allocations: 47.39 kB / 1.367 GB, free: 2.141 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/1.531, allocations: 4 kB / 1.367 GB, free: 2.137 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/1.531, allocations: 0 / 1.367 GB, free: 2.137 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/1.531, allocations: 3.984 kB / 1.367 GB, free: 2.133 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/1.531, allocations: 12.09 kB / 1.367 GB, free: 2.121 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/1.531, allocations: 4 kB / 1.367 GB, free: 2.117 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.397e-05/1.531, allocations: 7.984 kB / 1.367 GB, free: 2.109 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/1.531, allocations: 3.953 kB / 1.367 GB, free: 2.105 MB / 0.823 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 7.719e-05/1.531, allocations: 105 kB / 1.367 GB, free: 1.996 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/1.531, allocations: 3.906 kB / 1.367 GB, free: 1.992 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/1.531, allocations: 6.438 kB / 1.367 GB, free: 1.992 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/1.531, allocations: 0 / 1.367 GB, free: 1.992 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.531, allocations: 4 kB / 1.367 GB, free: 1.988 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/1.531, allocations: 0 / 1.367 GB, free: 1.988 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/1.531, allocations: 165.2 kB / 1.367 GB, free: 1.781 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.531, allocations: 4.812 kB / 1.367 GB, free: 1.777 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.379e-05/1.531, allocations: 11.98 kB / 1.367 GB, free: 1.766 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/1.531, allocations: 0 / 1.367 GB, free: 1.766 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/1.531, allocations: 0 / 1.367 GB, free: 1.766 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/1.531, allocations: 0 / 1.367 GB, free: 1.766 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.531, allocations: 2.625 kB / 1.367 GB, free: 1.766 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/1.532, allocations: 150.4 kB / 1.367 GB, free: 1.609 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/1.532, allocations: 77.11 kB / 1.368 GB, free: 1.516 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/1.532, allocations: 4 kB / 1.368 GB, free: 1.512 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-05/1.532, allocations: 4 kB / 1.368 GB, free: 1.508 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/1.532, allocations: 7.984 kB / 1.368 GB, free: 1.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/1.532, allocations: 3.984 kB / 1.368 GB, free: 1.496 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.83e-05/1.532, allocations: 86.12 kB / 1.368 GB, free: 1.414 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.532, allocations: 0 / 1.368 GB, free: 1.414 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001953/1.532, allocations: 4 kB / 1.368 GB, free: 1.41 MB / 0.823 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.0001656/1.532, allocations: 98.5 kB / 1.368 GB, free: 1.305 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.882e-05/1.532, allocations: 19.12 kB / 1.368 GB, free: 1.289 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.532, allocations: 0 / 1.368 GB, free: 1.289 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.269e-05/1.532, allocations: 7.25 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/1.533, allocations: 20.69 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/1.533, allocations: 57.73 kB / 1.368 GB, free: 1.191 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/1.533, allocations: 0.6848 MB / 1.369 GB, free: 492 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.045e-05/1.533, allocations: 3.906 kB / 1.369 GB, free: 488 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/1.533, allocations: 7.438 kB / 1.369 GB, free: 480 kB / 0.823 GB Notification: Performance of SimCode: time 6.62e-07/1.533, allocations: 0 / 1.369 GB, free: 480 kB / 0.823 GB Notification: Performance of Templates: time 0.002576/1.536, allocations: 362.5 kB / 1.369 GB, free: 132 kB / 0.823 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