Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008492/0.008492, allocations: 103.9 kB / 15.74 MB, free: 6.027 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.002521/0.002521, allocations: 194.7 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.649/2.649, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.027/5.027, allocations: 437.1 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00298/0.00298, allocations: 63.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5501/0.5531, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.003548/0.5568, allocations: 0.7014 MB / 1.167 GB, free: 6.617 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.5585, allocations: 0.8432 MB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.866e-05/0.5586, allocations: 4 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.615e-05/0.5587, allocations: 3.938 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.5588, allocations: 3.938 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.559, allocations: 27.89 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.5592, allocations: 47.91 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.5593, allocations: 12 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.127e-05/0.5594, allocations: 19.86 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.5596, allocations: 35.89 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.5596, allocations: 4 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.844e-05/0.5596, allocations: 4 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.5597, allocations: 7.938 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.816e-05/0.5597, allocations: 19.92 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.5599, allocations: 56 kB / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5599, allocations: 0 / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.635e-06/0.56, allocations: 0 / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.56, allocations: 0 / 1.168 GB, free: 5.52 MB / 0.92 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.0007814/0.5608, allocations: 355.3 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/0.5608, allocations: 12.03 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.546e-05/0.5609, allocations: 34.73 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.5609, allocations: 4.938 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.5612, allocations: 172.2 kB / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.5612, allocations: 8.375 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.5613, allocations: 4.125 kB / 1.168 GB, free: 4.848 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.5616, allocations: 65.66 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.5616, allocations: 0 / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.5617, allocations: 4 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.5617, allocations: 0 / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003514/0.562, allocations: 51.94 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006646/0.5627, allocations: 292.7 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/0.5631, allocations: 66.55 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.5633, allocations: 36.91 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.5633, allocations: 0 / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.5634, allocations: 30.56 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.5634, allocations: 0 / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0007142/0.5641, allocations: 117.7 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.5642, allocations: 51.41 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.5643, allocations: 109.8 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.5644, allocations: 25.7 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.881e-05/0.5645, allocations: 88.09 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.5645, allocations: 7.953 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.472e-05/0.5646, allocations: 25.64 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.5648, allocations: 318.8 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.565, allocations: 27.97 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.5652, allocations: 24.02 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.5655, allocations: 60.75 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5656, allocations: 0 / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000492/0.5661, allocations: 89.59 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.5661, allocations: 10.03 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5661, allocations: 3.938 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.5661, allocations: 0 / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.5664, allocations: 15.98 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.5664, allocations: 0 / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.5665, allocations: 7.984 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.5665, allocations: 3.938 kB / 1.17 GB, free: 3.207 MB / 0.92 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 0.0001338/0.5667, allocations: 117.8 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.5667, allocations: 4 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.5668, allocations: 7.906 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.5668, allocations: 4 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.5668, allocations: 0 / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.5668, allocations: 0 / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.5672, allocations: 177.5 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.5672, allocations: 0 / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.5674, allocations: 15.98 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5674, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.5674, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.5674, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5674, allocations: 7.984 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004747/0.5679, allocations: 179.4 kB / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.04e-05/0.568, allocations: 85.09 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.568, allocations: 4 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.5682, allocations: 4 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.601e-05/0.5683, allocations: 15.98 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.5684, allocations: 0 / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.216e-05/0.5684, allocations: 91.52 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.965e-06/0.5685, allocations: 0 / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004611/0.5689, allocations: 15.89 kB / 1.171 GB, free: 2.391 MB / 0.92 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.0009965/0.5699, allocations: 0.7163 MB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004489/0.5704, allocations: 60.16 kB / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.5704, allocations: 0 / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.5706, allocations: 35.91 kB / 1.171 GB, free: 1.555 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005356/0.5712, allocations: 4.312 kB / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/0.5747, allocations: 1.327 MB / 1.173 GB, free: 148 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.5751, allocations: 0.6807 MB / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.297e-05/0.5752, allocations: 8 kB / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.231e-05/0.5753, allocations: 23.36 kB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of SimCode: time 6.92e-07/0.5754, allocations: 0 / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1232/0.6986, allocations: 1.829 MB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.8/18.5, allocations: 10.53 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches