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.001152/0.001159, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001484/0.001484, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.847/2.847, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00055/0.0005501, allocations: 11.12 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.3989, allocations: 159.6 MB / 1.058 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001117/0.4001, allocations: 427.7 kB / 1.058 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.4014, allocations: 0.8235 MB / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.4015, allocations: 0 / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.4016, allocations: 7.938 kB / 1.059 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.4017, allocations: 3.984 kB / 1.059 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.4018, allocations: 23.97 kB / 1.059 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.402, allocations: 39.86 kB / 1.059 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.4021, allocations: 15.92 kB / 1.059 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.655e-05/0.4022, allocations: 12 kB / 1.059 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.023e-05/0.4023, allocations: 31.83 kB / 1.059 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.4023, allocations: 0 / 1.059 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.352e-05/0.4023, allocations: 8 kB / 1.059 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.4024, allocations: 0 / 1.059 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.4024, allocations: 29.7 kB / 1.059 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.725e-05/0.4025, allocations: 27.92 kB / 1.059 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.4025, allocations: 0 / 1.059 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.434e-06/0.4025, allocations: 0 / 1.059 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.4025, allocations: 0 / 1.059 GB, free: 3.844 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.0005833/0.4031, allocations: 363.4 kB / 1.06 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.4032, allocations: 12.03 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.4032, allocations: 0 / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.4034, allocations: 171 kB / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.4034, allocations: 4 kB / 1.06 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.4035, allocations: 11.95 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.4037, allocations: 73.64 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4037, allocations: 4 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.4037, allocations: 0 / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4038, allocations: 0 / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.404, allocations: 63.94 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.4045, allocations: 296.6 kB / 1.06 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.4047, allocations: 66.55 kB / 1.06 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.4049, allocations: 44.91 kB / 1.06 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.4049, allocations: 0 / 1.06 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.4049, allocations: 34.56 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.4049, allocations: 0 / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004383/0.4054, allocations: 125.6 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.4054, allocations: 55.39 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.4055, allocations: 113.8 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.4056, allocations: 25.7 kB / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.4056, allocations: 84.22 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.4057, allocations: 19.83 kB / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.4057, allocations: 4 kB / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4058, allocations: 314.8 kB / 1.061 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.722e-05/0.4059, allocations: 27.97 kB / 1.061 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.574e-05/0.406, allocations: 31.97 kB / 1.061 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.652e-05/0.4061, allocations: 31.98 kB / 1.061 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4061, allocations: 0 / 1.061 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002332/0.4064, allocations: 97.48 kB / 1.061 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4064, allocations: 8 kB / 1.061 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4064, allocations: 4 kB / 1.061 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.4064, allocations: 0 / 1.061 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.4066, allocations: 15.98 kB / 1.061 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.4066, allocations: 0 / 1.061 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.945e-05/0.4067, allocations: 11.98 kB / 1.061 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.4067, allocations: 4 kB / 1.061 GB, free: 1.551 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 (addPar.y,reaToInt.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.748e-05/0.4068, allocations: 113.8 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.4068, allocations: 4 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.4068, allocations: 7.906 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4068, allocations: 0 / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4069, allocations: 4 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4069, allocations: 0 / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.4071, allocations: 177.9 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4071, allocations: 0 / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.118e-05/0.4072, allocations: 19.92 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4072, allocations: 0 / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.4072, allocations: 4 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.4072, allocations: 4 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.4072, allocations: 3.984 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.4075, allocations: 195.4 kB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.4076, allocations: 89.05 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.4076, allocations: 0 / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.895e-05/0.4077, allocations: 7.938 kB / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.412e-05/0.4078, allocations: 11.98 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.4078, allocations: 7.984 kB / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.613e-05/0.4078, allocations: 79.28 kB / 1.062 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.503e-06/0.4078, allocations: 0 / 1.062 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002229/0.4081, allocations: 15.94 kB / 1.062 GB, free: 0.7227 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 (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.0001383/0.4082, allocations: 105.6 kB / 1.062 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.4085, allocations: 63.94 kB / 1.062 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4085, allocations: 0 / 1.062 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.4086, allocations: 43.97 kB / 1.062 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.4089, allocations: 4 kB / 1.062 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.4093, allocations: 136.6 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.4096, allocations: 0.6887 MB / 1.063 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.7e-05/0.4096, allocations: 4 kB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.4097, allocations: 7.438 kB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.4097, allocations: 0 / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of Templates: time 0.003182/0.4129, allocations: 0.7401 MB / 1.064 GB, free: 14.88 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