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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001342/0.001342, allocations: 185.7 kB / 326.5 MB, free: 2.223 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.67/1.67, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0007777/0.0007777, allocations: 91.42 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004211/0.0004212, allocations: 13.62 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2629, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2318/0.4947, allocations: 131.3 MB / 1.028 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.4951, allocations: 75.95 kB / 1.028 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002019/0.4971, allocations: 0.6336 MB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.292e-06/0.4972, allocations: 0 / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.4972, allocations: 3.938 kB / 1.029 GB, free: 11.63 MB / 0.6823 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.0004326/0.4976, allocations: 335.3 kB / 1.029 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.4977, allocations: 8.031 kB / 1.029 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.4977, allocations: 19.84 kB / 1.029 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.4979, allocations: 174.9 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.4979, allocations: 0 / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.4979, allocations: 4 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.4981, allocations: 53.67 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.4982, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.4982, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4982, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.4984, allocations: 43.97 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.4989, allocations: 276.8 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.4991, allocations: 42.56 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.4991, allocations: 0 / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.4992, allocations: 34.55 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4992, allocations: 0 / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0004431/0.4996, allocations: 105.6 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.4997, allocations: 51.41 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.176e-05/0.4998, allocations: 97.11 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.4998, allocations: 29.7 kB / 1.03 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.4999, allocations: 84.14 kB / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.4999, allocations: 3.906 kB / 1.03 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.4999, allocations: 0 / 1.03 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.5, allocations: 322.8 kB / 1.031 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.5002, allocations: 23.98 kB / 1.031 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.5003, allocations: 23.98 kB / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.5004, allocations: 15.98 kB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5004, allocations: 0 / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002756/0.5007, allocations: 89.56 kB / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.5007, allocations: 10.19 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.5007, allocations: 0 / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.5008, allocations: 0 / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.5009, allocations: 11.98 kB / 1.031 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.5009, allocations: 4.031 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.456e-05/0.501, allocations: 12.23 kB / 1.031 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.501, allocations: 0 / 1.031 GB, free: 9.586 MB / 0.6823 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 () * Number of clocked 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 0.0001012/0.5011, allocations: 109.8 kB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.5012, allocations: 8 kB / 1.031 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.5012, allocations: 11.47 kB / 1.031 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.5012, allocations: 0 / 1.031 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.5012, allocations: 0 / 1.031 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5012, allocations: 4 kB / 1.031 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.5015, allocations: 165.6 kB / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5015, allocations: 0 / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.409e-05/0.5016, allocations: 11.98 kB / 1.031 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5016, allocations: 0 / 1.031 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.5016, allocations: 0 / 1.031 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.5016, allocations: 0 / 1.031 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5016, allocations: 0 / 1.031 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.5019, allocations: 183.4 kB / 1.031 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.502, allocations: 81.02 kB / 1.031 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.502, allocations: 0 / 1.031 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.5021, allocations: 16.02 kB / 1.031 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.5022, allocations: 0 / 1.031 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.5022, allocations: 0 / 1.031 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.292e-05/0.5023, allocations: 83.28 kB / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5023, allocations: 0 / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003122/0.5026, allocations: 4 kB / 1.032 GB, free: 8.828 MB / 0.6823 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 () * Number of clocked 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.0001694/0.5028, allocations: 115.1 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002707/0.5031, allocations: 51.97 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5031, allocations: 0 / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.5032, allocations: 23.92 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.5035, allocations: 16.06 kB / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.5038, allocations: 108.7 kB / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.5041, allocations: 0.6848 MB / 1.032 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.687e-05/0.5042, allocations: 4 kB / 1.032 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.5042, allocations: 7.438 kB / 1.032 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of SimCode: time 3.3e-07/0.5042, allocations: 0 / 1.032 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of Templates: time 0.002128/0.5063, allocations: 364.6 kB / 1.033 GB, free: 7.406 MB / 0.6823 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