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.589/1.589, allocations: 249.5 MB / 257 MB, free: 6.879 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.001084/0.001084, allocations: 184.8 kB / 316.3 MB, free: 3.219 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.43/1.43, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0008626/0.0008627, allocations: 88.02 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.043e-05/2.045e-05, allocations: 16 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2148, allocations: 106.3 MB / 0.8852 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8212/1.036, allocations: 131.5 MB / 1.014 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/1.036, allocations: 77.16 kB / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00162/1.038, allocations: 0.6233 MB / 1.014 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.512e-06/1.038, allocations: 0 / 1.014 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.709e-06/1.038, allocations: 4 kB / 1.014 GB, free: 5.594 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.000345/1.038, allocations: 334.5 kB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.038, allocations: 12.02 kB / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/1.038, allocations: 7.688 kB / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/1.039, allocations: 170.9 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/1.039, allocations: 0.75 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/1.039, allocations: 4 kB / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.119e-05/1.039, allocations: 9.625 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.583e-05/1.039, allocations: 37.19 kB / 1.015 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/1.039, allocations: 4 kB / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/1.039, allocations: 4 kB / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/1.039, allocations: 0 / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/1.039, allocations: 248.2 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.71e-05/1.039, allocations: 30.08 kB / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.862e-05/1.039, allocations: 16.48 kB / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/1.039, allocations: 0 / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/1.039, allocations: 34.56 kB / 1.015 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.735e-06/1.039, allocations: 0 / 1.015 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001362/1.04, allocations: 43.61 kB / 1.015 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/1.04, allocations: 51.41 kB / 1.015 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.904e-05/1.04, allocations: 96.44 kB / 1.015 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/1.04, allocations: 25.7 kB / 1.015 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/1.04, allocations: 87.48 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/1.04, allocations: 7.891 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/1.04, allocations: 0 / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.818e-05/1.04, allocations: 322 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.318e-05/1.04, allocations: 0 / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.364e-05/1.04, allocations: 11.25 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.721e-05/1.04, allocations: 4 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/1.04, allocations: 0 / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.657e-05/1.04, allocations: 40.95 kB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/1.04, allocations: 11.98 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/1.04, allocations: 0 / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/1.04, allocations: 3.984 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/1.04, allocations: 8 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/1.04, allocations: 0.7812 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.246e-05/1.04, allocations: 11.98 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/1.04, allocations: 2.688 kB / 1.016 GB, free: 3.84 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 6.998e-05/1.04, allocations: 109 kB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/1.04, allocations: 3.906 kB / 1.016 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/1.04, allocations: 11.92 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/1.04, allocations: 0 / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.04, allocations: 7.922 kB / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/1.04, allocations: 3.938 kB / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/1.041, allocations: 133.8 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.041, allocations: 3.953 kB / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.357e-05/1.041, allocations: 23.11 kB / 1.016 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/1.041, allocations: 4 kB / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/1.041, allocations: 0 / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/1.041, allocations: 0 / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.041, allocations: 0 / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/1.041, allocations: 135.4 kB / 1.016 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/1.041, allocations: 81.06 kB / 1.016 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/1.041, allocations: 4.031 kB / 1.016 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.923e-05/1.041, allocations: 8 kB / 1.016 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/1.041, allocations: 7.922 kB / 1.016 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/1.041, allocations: 0 / 1.016 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.371e-05/1.041, allocations: 81.78 kB / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/1.041, allocations: 0 / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001924/1.041, allocations: 4 kB / 1.017 GB, free: 3.164 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.0001385/1.041, allocations: 106.9 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.681e-05/1.041, allocations: 15.38 kB / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/1.041, allocations: 0 / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.999e-05/1.042, allocations: 4 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/1.042, allocations: 14.86 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001865/1.042, allocations: 68.42 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/1.042, allocations: 0.6807 MB / 1.017 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.408e-05/1.042, allocations: 4.125 kB / 1.017 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/1.042, allocations: 7.438 kB / 1.017 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/1.042, allocations: 0 / 1.017 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of Templates: time 0.002126/1.044, allocations: 338.5 kB / 1.018 GB, free: 1.906 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