Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007335/0.007335, allocations: 99.92 kB / 15.73 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 186.5 kB / 16.67 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 472.6 MB / 0.7453 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 72.11 kB / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.058, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001693/1.06, allocations: 0.6793 MB / 1.226 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0008154/1.061, allocations: 0.7806 MB / 1.227 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.253e-05/1.061, allocations: 4 kB / 1.227 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/1.061, allocations: 3.938 kB / 1.227 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.654e-05/1.061, allocations: 7.984 kB / 1.227 GB, free: 12 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 4.819e-05/1.061, allocations: 4 kB / 1.227 GB, free: 12 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.893e-05/1.061, allocations: 23.92 kB / 1.227 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/1.061, allocations: 7.984 kB / 1.227 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.062e-05/1.061, allocations: 15.92 kB / 1.227 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.736e-05/1.061, allocations: 11.98 kB / 1.227 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/1.061, allocations: 0 / 1.227 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.9e-05/1.061, allocations: 4 kB / 1.227 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/1.061, allocations: 3.938 kB / 1.227 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/1.061, allocations: 11.94 kB / 1.227 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 7.602e-05/1.061, allocations: 19.97 kB / 1.227 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/1.061, allocations: 3.984 kB / 1.227 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.926e-06/1.061, allocations: 3.938 kB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.48e-06/1.061, allocations: 3.938 kB / 1.227 GB, free: 11.89 MB / 0.9512 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.0004304/1.062, allocations: 336 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/1.062, allocations: 12.03 kB / 1.228 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/1.062, allocations: 4.891 kB / 1.228 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/1.062, allocations: 172.3 kB / 1.228 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/1.062, allocations: 4.375 kB / 1.228 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.527e-06/1.062, allocations: 4.375 kB / 1.228 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/1.062, allocations: 46.23 kB / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/1.062, allocations: 192 / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/1.062, allocations: 7.938 kB / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/1.062, allocations: 0 / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/1.062, allocations: 35.95 kB / 1.228 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/1.063, allocations: 252.9 kB / 1.228 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/1.063, allocations: 38.5 kB / 1.228 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.081e-05/1.063, allocations: 28.89 kB / 1.228 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/1.063, allocations: 0 / 1.228 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/1.063, allocations: 38.56 kB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/1.063, allocations: 0 / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003483/1.063, allocations: 89.53 kB / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/1.063, allocations: 51.41 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/1.063, allocations: 97.86 kB / 1.228 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/1.063, allocations: 25.7 kB / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/1.063, allocations: 96.25 kB / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/1.063, allocations: 3.953 kB / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/1.064, allocations: 17.72 kB / 1.228 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001053/1.064, allocations: 314.8 kB / 1.229 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.705e-05/1.064, allocations: 15.98 kB / 1.229 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.062e-05/1.064, allocations: 15.97 kB / 1.229 GB, free: 10 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/1.064, allocations: 40.89 kB / 1.229 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.064, allocations: 0 / 1.229 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001877/1.064, allocations: 77.53 kB / 1.229 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/1.064, allocations: 4 kB / 1.229 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/1.064, allocations: 0 / 1.229 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/1.064, allocations: 4 kB / 1.229 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.442e-05/1.064, allocations: 4 kB / 1.229 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/1.064, allocations: 7.969 kB / 1.229 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.553e-05/1.064, allocations: 7.984 kB / 1.229 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/1.064, allocations: 3.984 kB / 1.229 GB, free: 9.848 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.198e-05/1.064, allocations: 113.8 kB / 1.229 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/1.064, allocations: 3.953 kB / 1.229 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.121e-05/1.064, allocations: 11.11 kB / 1.229 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/1.064, allocations: 0 / 1.229 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/1.065, allocations: 4 kB / 1.229 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.065, allocations: 4 kB / 1.229 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/1.065, allocations: 157.6 kB / 1.229 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.065, allocations: 0 / 1.229 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/1.065, allocations: 7.984 kB / 1.229 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.065, allocations: 4.25 kB / 1.229 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/1.065, allocations: 0 / 1.229 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/1.065, allocations: 7.938 kB / 1.229 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/1.065, allocations: 0 / 1.229 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/1.065, allocations: 167.5 kB / 1.229 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/1.065, allocations: 77.11 kB / 1.23 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/1.065, allocations: 0 / 1.23 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.534e-05/1.065, allocations: 7.984 kB / 1.23 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/1.065, allocations: 7.984 kB / 1.23 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/1.065, allocations: 0 / 1.23 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.4e-05/1.065, allocations: 87.27 kB / 1.23 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.065, allocations: 4.031 kB / 1.23 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002159/1.065, allocations: 4 kB / 1.23 GB, free: 9.098 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000126/1.066, allocations: 99.23 kB / 1.23 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000205/1.066, allocations: 39.91 kB / 1.23 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/1.066, allocations: 0 / 1.23 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.546e-05/1.066, allocations: 28.03 kB / 1.23 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/1.066, allocations: 6 kB / 1.23 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002757/1.066, allocations: 117.2 kB / 1.23 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/1.067, allocations: 0.6768 MB / 1.231 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.335e-05/1.067, allocations: 4 kB / 1.231 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/1.067, allocations: 7.438 kB / 1.231 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/1.067, allocations: 0 / 1.231 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of Templates: time 0.002403/1.069, allocations: 434.4 kB / 1.231 GB, free: 7.641 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches