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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.0013/0.0013, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001261/0.001261, allocations: 192 kB / 17.31 MB, free: 5.18 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.615/2.615, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001494, allocations: 68.83 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4051, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002786/0.4079, allocations: 0.7276 MB / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.4091, allocations: 0.8351 MB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.4092, allocations: 0 / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.4092, allocations: 7.938 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.857e-05/0.4093, allocations: 3.938 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.4095, allocations: 23.91 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.22e-05/0.4096, allocations: 43.98 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.4097, allocations: 15.97 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.136e-05/0.4098, allocations: 27.8 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.557e-05/0.4098, allocations: 23.92 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.4099, allocations: 4 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/0.4099, allocations: 8 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.4099, allocations: 11.92 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.4099, allocations: 23.91 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.4101, allocations: 39.81 kB / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.4101, allocations: 4 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4101, allocations: 0 / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.4101, allocations: 0 / 1.028 GB, free: 244 kB / 0.795 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.0005287/0.4106, allocations: 352.6 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.4107, allocations: 16.03 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.4107, allocations: 4.844 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.4109, allocations: 168.4 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.4109, allocations: 384 / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.4109, allocations: 12.31 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.4111, allocations: 69.77 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.4111, allocations: 0 / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.4112, allocations: 4 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4112, allocations: 0 / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.4114, allocations: 51.95 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.4118, allocations: 292.7 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.4121, allocations: 62.48 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.4122, allocations: 40.91 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.4122, allocations: 0 / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.4122, allocations: 34.56 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.4123, allocations: 0 / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003982/0.4127, allocations: 109.6 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.4127, allocations: 51.41 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.965e-05/0.4128, allocations: 109.8 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.4128, allocations: 25.7 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.4129, allocations: 92.05 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.4129, allocations: 7.891 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.4129, allocations: 17.72 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.4131, allocations: 318.8 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.611e-05/0.4132, allocations: 27.98 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.348e-05/0.4132, allocations: 32.09 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.4134, allocations: 52.89 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4134, allocations: 0 / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002137/0.4137, allocations: 85.59 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4137, allocations: 8 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4137, allocations: 0 / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4137, allocations: 3.938 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.4138, allocations: 15.98 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.4139, allocations: 3.984 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.387e-05/0.4139, allocations: 4 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.4139, allocations: 0 / 1.03 GB, free: 13.98 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 8.939e-05/0.414, allocations: 121.7 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.4141, allocations: 11.89 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.4141, allocations: 7.906 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.4141, allocations: 0 / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4141, allocations: 4 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4141, allocations: 0 / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.4143, allocations: 185.6 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4143, allocations: 0 / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.159e-05/0.4144, allocations: 15.98 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4144, allocations: 0 / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.4145, allocations: 0 / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4145, allocations: 7.938 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4145, allocations: 320 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.4147, allocations: 187.3 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.259e-05/0.4148, allocations: 77.11 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.4148, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.431e-05/0.4149, allocations: 11.98 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.415, allocations: 7.984 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.415, allocations: 8 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001105/0.4151, allocations: 87.25 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.4e-07/0.4151, allocations: 4 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000219/0.4153, allocations: 12 kB / 1.031 GB, free: 13.15 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.0001236/0.4155, allocations: 99.19 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002862/0.4158, allocations: 55.89 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4158, allocations: 0 / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.4159, allocations: 43.91 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.4162, allocations: 2.656 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.4165, allocations: 129.6 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.4168, allocations: 0.6845 MB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.072e-05/0.4168, allocations: 8.281 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.4169, allocations: 19.42 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of SimCode: time 2.354e-06/0.4169, allocations: 0 / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of Templates: time 0.003088/0.42, allocations: 0.8722 MB / 1.033 GB, free: 11.18 MB / 0.8106 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 -s cvode -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/jenkins1/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