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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> 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.007494/0.007494, allocations: 101.8 kB / 15.73 MB, free: 5.555 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.002052/0.002052, allocations: 193.2 kB / 16.68 MB, free: 5.484 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.011/3.011, allocations: 482.4 MB / 0.7548 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.89 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2894, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001765/0.2912, allocations: 0.7054 MB / 1.242 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009431/0.2921, allocations: 0.8273 MB / 1.243 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.2922, allocations: 0 / 1.243 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.964e-05/0.2922, allocations: 7.922 kB / 1.243 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.837e-05/0.2923, allocations: 3.938 kB / 1.243 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001281/0.2924, allocations: 23.98 kB / 1.243 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.824e-05/0.2925, allocations: 55.83 kB / 1.243 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.03e-05/0.2926, allocations: 12 kB / 1.243 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.022e-05/0.2927, allocations: 15.92 kB / 1.243 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.683e-05/0.2927, allocations: 31.84 kB / 1.243 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.2928, allocations: 4 kB / 1.243 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.2928, allocations: 4 kB / 1.243 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.2928, allocations: 11.97 kB / 1.243 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.2928, allocations: 23.88 kB / 1.243 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.675e-05/0.2929, allocations: 43.86 kB / 1.243 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2929, allocations: 0 / 1.243 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.293, allocations: 0 / 1.243 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.293, allocations: 0 / 1.243 GB, free: 8.418 MB / 0.9981 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.0005065/0.2935, allocations: 359.3 kB / 1.244 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2935, allocations: 12.03 kB / 1.244 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.834e-05/0.2936, allocations: 30.75 kB / 1.244 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.376e-05/0.2936, allocations: 4.938 kB / 1.244 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.2937, allocations: 176.3 kB / 1.244 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.2938, allocations: 12.25 kB / 1.244 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.2938, allocations: 4.125 kB / 1.244 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.294, allocations: 73.62 kB / 1.244 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.294, allocations: 0 / 1.244 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.294, allocations: 0 / 1.244 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.294, allocations: 0 / 1.244 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.2943, allocations: 51.95 kB / 1.244 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.2947, allocations: 300.6 kB / 1.244 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.2949, allocations: 66.53 kB / 1.244 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.295, allocations: 28.92 kB / 1.244 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.2951, allocations: 0 / 1.244 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.2951, allocations: 38.55 kB / 1.244 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.2951, allocations: 0 / 1.244 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004374/0.2955, allocations: 109.6 kB / 1.244 GB, free: 7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.2956, allocations: 51.41 kB / 1.244 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.2957, allocations: 117.9 kB / 1.245 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2957, allocations: 25.7 kB / 1.245 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.2958, allocations: 92.08 kB / 1.245 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.2958, allocations: 11.95 kB / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.2959, allocations: 17.7 kB / 1.245 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.296, allocations: 318.8 kB / 1.245 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.2961, allocations: 23.97 kB / 1.245 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.73e-05/0.2962, allocations: 19.98 kB / 1.245 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.2964, allocations: 60.81 kB / 1.245 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.2964, allocations: 4 kB / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002589/0.2967, allocations: 89.53 kB / 1.245 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.2967, allocations: 4 kB / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.2967, allocations: 0 / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.2967, allocations: 0 / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.2969, allocations: 15.98 kB / 1.245 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.2969, allocations: 4 kB / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.667e-05/0.297, allocations: 11.98 kB / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.297, allocations: 3.938 kB / 1.245 GB, free: 6.09 MB / 0.9981 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.456e-05/0.2971, allocations: 110.4 kB / 1.245 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.2971, allocations: 0 / 1.245 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/0.2971, allocations: 11.89 kB / 1.245 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2971, allocations: 4 kB / 1.245 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2972, allocations: 0 / 1.245 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2972, allocations: 0 / 1.245 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.2974, allocations: 173.6 kB / 1.246 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2974, allocations: 3.938 kB / 1.246 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.997e-05/0.2975, allocations: 15.98 kB / 1.246 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.2975, allocations: 7.922 kB / 1.246 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.2975, allocations: 7.938 kB / 1.246 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2975, allocations: 0 / 1.246 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2975, allocations: 0 / 1.246 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.2978, allocations: 191.7 kB / 1.246 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.2979, allocations: 81.11 kB / 1.246 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.2979, allocations: 0 / 1.246 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.298, allocations: 7.984 kB / 1.246 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.2981, allocations: 11.98 kB / 1.246 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.2981, allocations: 0 / 1.246 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.343e-05/0.2982, allocations: 91.22 kB / 1.246 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2982, allocations: 0 / 1.246 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002314/0.2984, allocations: 15.89 kB / 1.246 GB, free: 5.27 MB / 0.9981 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.000627/0.299, allocations: 0.7163 MB / 1.247 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.2993, allocations: 55.95 kB / 1.247 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2993, allocations: 0 / 1.247 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.2994, allocations: 35.91 kB / 1.247 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.2997, allocations: 6.188 kB / 1.247 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.3014, allocations: 1.327 MB / 1.248 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.3017, allocations: 0.6846 MB / 1.249 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.164e-05/0.3017, allocations: 7.984 kB / 1.249 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/0.3018, allocations: 15.44 kB / 1.249 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of SimCode: time 2.024e-06/0.3018, allocations: 0 / 1.249 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.3235, allocations: 1.843 MB / 1.251 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.742/8.066, allocations: 6.688 kB / 1.251 GB, free: 0.5586 MB / 0.9981 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 400 --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