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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_latest_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.001251/0.001251, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 196.6 kB / 16.53 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.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.544/2.544, allocations: 469.4 MB / 0.742 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 73.39 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.263, allocations: 159.1 MB / 1.064 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001961/0.265, allocations: 0.7049 MB / 1.064 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000913/0.266, allocations: 0.8312 MB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.266, allocations: 0 / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.729e-05/0.2661, allocations: 3.938 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.97e-05/0.2661, allocations: 7.922 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.2663, allocations: 19.97 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.929e-05/0.2664, allocations: 55.84 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.538e-05/0.2665, allocations: 16 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.327e-05/0.2665, allocations: 15.92 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.875e-05/0.2666, allocations: 31.89 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.2666, allocations: 4 kB / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.2666, allocations: 4 kB / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/0.2667, allocations: 8 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.2667, allocations: 23.86 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.166e-05/0.2668, allocations: 39.86 kB / 1.065 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2668, allocations: 7.984 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2668, allocations: 0 / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.2668, allocations: 0 / 1.065 GB, free: 12.68 MB / 0.8262 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.0004637/0.2673, allocations: 351.6 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2673, allocations: 12.03 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.2674, allocations: 34.73 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.2674, allocations: 8.844 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.2675, allocations: 168.3 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.2675, allocations: 4.375 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.2675, allocations: 4.375 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.2677, allocations: 73.58 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.2678, allocations: 3.938 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.2678, allocations: 0 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2678, allocations: 0 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.268, allocations: 59.88 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.2684, allocations: 288.7 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.2686, allocations: 66.55 kB / 1.066 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.2687, allocations: 36.84 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.2687, allocations: 0 / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.2688, allocations: 38.5 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2688, allocations: 0 / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004032/0.2692, allocations: 105.8 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.2692, allocations: 51.41 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.125e-05/0.2693, allocations: 109.8 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.2693, allocations: 29.7 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.2694, allocations: 92.03 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.2694, allocations: 13.58 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.2694, allocations: 13.72 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.343e-05/0.2695, allocations: 322.8 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.2697, allocations: 19.98 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.382e-05/0.2698, allocations: 31.89 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.2699, allocations: 60.81 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.27, allocations: 0 / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002323/0.2702, allocations: 81.64 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.2702, allocations: 4 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2702, allocations: 0 / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.2702, allocations: 0 / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.2704, allocations: 15.98 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.2704, allocations: 4 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.02e-05/0.2705, allocations: 15.89 kB / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.2705, allocations: 4 kB / 1.067 GB, free: 10.37 MB / 0.8262 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.714e-05/0.2706, allocations: 117.7 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.2706, allocations: 0 / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.168e-05/0.2706, allocations: 7.906 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2706, allocations: 4 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2706, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.2706, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.2708, allocations: 181.5 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2708, allocations: 0 / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.337e-05/0.2709, allocations: 15.98 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2709, allocations: 3.938 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.2709, allocations: 0 / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2709, allocations: 0 / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2709, allocations: 3.938 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.2712, allocations: 191.3 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.2713, allocations: 89.03 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.2713, allocations: 0 / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.315e-05/0.2714, allocations: 4 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.2714, allocations: 11.98 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.2714, allocations: 0 / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.976e-05/0.2715, allocations: 91.27 kB / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2715, allocations: 0 / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002166/0.2717, allocations: 7.938 kB / 1.068 GB, free: 9.555 MB / 0.8262 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.0005212/0.2722, allocations: 0.7168 MB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002332/0.2725, allocations: 64.11 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2725, allocations: 0 / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.2726, allocations: 32.06 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.2729, allocations: 8.094 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.2742, allocations: 1.321 MB / 1.07 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.2745, allocations: 0.6846 MB / 1.071 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.799e-05/0.2745, allocations: 4 kB / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.2746, allocations: 15.44 kB / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.2746, allocations: 0 / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01606/0.2906, allocations: 1.81 MB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.986/7.277, allocations: 22.59 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv","/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