Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.002061/0.002061, allocations: 172.6 kB / 16.26 MB, free: 6.664 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.529/1.529, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.108/3.108, allocations: 462.7 MB / 0.7364 GB, free: 256 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003716, allocations: 11.06 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3982, allocations: 159.6 MB / 1.059 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.00118/0.3994, allocations: 439.5 kB / 1.059 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.4005, allocations: 0.8313 MB / 1.06 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.4006, allocations: 8 kB / 1.06 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.262e-05/0.4006, allocations: 3.938 kB / 1.06 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.325e-05/0.4007, allocations: 0 / 1.06 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.4009, allocations: 23.97 kB / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.031e-05/0.401, allocations: 47.84 kB / 1.06 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.4011, allocations: 8 kB / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.418e-05/0.4012, allocations: 23.86 kB / 1.06 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.373e-05/0.4012, allocations: 23.91 kB / 1.06 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.4013, allocations: 4 kB / 1.06 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.4013, allocations: 0 / 1.06 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.4013, allocations: 7.984 kB / 1.06 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.514e-05/0.4014, allocations: 41.58 kB / 1.06 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.333e-05/0.4015, allocations: 47.83 kB / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4015, allocations: 0 / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4015, allocations: 0 / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.4015, allocations: 0 / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005441/0.402, allocations: 359.6 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4021, allocations: 8.031 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.4021, allocations: 4.938 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.4023, allocations: 168.3 kB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.4023, allocations: 4.375 kB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.4023, allocations: 384 / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.4026, allocations: 81.72 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.4026, allocations: 0 / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.4026, allocations: 4 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4026, allocations: 3.938 kB / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002341/0.4029, allocations: 59.95 kB / 1.061 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005239/0.4034, allocations: 292.8 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.4036, allocations: 74.47 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.4038, allocations: 40.91 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.4038, allocations: 0 / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.4038, allocations: 34.56 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.4039, allocations: 3.938 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000478/0.4043, allocations: 129.5 kB / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.4044, allocations: 51.41 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.4045, allocations: 109.8 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.4045, allocations: 29.64 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.4046, allocations: 88.14 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.4046, allocations: 11.81 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.4047, allocations: 17.7 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4048, allocations: 318.8 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.4049, allocations: 27.97 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.4051, allocations: 31.98 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.4053, allocations: 64.81 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.4053, allocations: 0 / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000251/0.4055, allocations: 93.64 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4056, allocations: 8 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.4056, allocations: 0 / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.4056, allocations: 0 / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.4057, allocations: 23.92 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4057, allocations: 320 / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.241e-05/0.4058, allocations: 11.98 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.4058, allocations: 8 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,addPar.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.066e-05/0.4059, allocations: 111.3 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.406, allocations: 7.906 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.406, allocations: 7.906 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.406, allocations: 0 / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.406, allocations: 0 / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.406, allocations: 3.984 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.4062, allocations: 177.5 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4062, allocations: 4 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.246e-05/0.4063, allocations: 15.98 kB / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4063, allocations: 0 / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.4063, allocations: 3.984 kB / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.4064, allocations: 0 / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4064, allocations: 7.922 kB / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.4067, allocations: 203.4 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.4067, allocations: 84.95 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.4068, allocations: 4 kB / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.717e-05/0.4069, allocations: 7.984 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.4069, allocations: 11.98 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.4069, allocations: 8 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.408e-05/0.407, allocations: 79.28 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.9e-07/0.407, allocations: 0 / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002156/0.4072, allocations: 12 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000163/0.4074, allocations: 103.5 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002719/0.4077, allocations: 67.94 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4077, allocations: 3.938 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.4078, allocations: 39.97 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.4081, allocations: 4.859 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004653/0.4086, allocations: 136.7 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.4089, allocations: 0.6848 MB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.508e-05/0.409, allocations: 4 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.409, allocations: 11.44 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.409, allocations: 0 / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of Templates: time 0.003182/0.4122, allocations: 0.7639 MB / 1.065 GB, free: 14.89 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches