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.001224/0.001224, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001239/0.001239, allocations: 194.7 kB / 16.25 MB, free: 6.629 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.268/1.268, allocations: 222.9 MB / 239.9 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.657/2.657, allocations: 461.9 MB / 0.7343 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 65.61 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2793, allocations: 157.4 MB / 1.052 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001779/0.2811, allocations: 0.7681 MB / 1.053 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009089/0.282, allocations: 0.8429 MB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.2821, allocations: 0 / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.899e-05/0.2821, allocations: 0 / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.73e-05/0.2822, allocations: 11.92 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.2823, allocations: 19.97 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.923e-05/0.2824, allocations: 39.86 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.906e-05/0.2825, allocations: 19.98 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.166e-05/0.2826, allocations: 23.92 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.483e-05/0.2826, allocations: 19.91 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.2826, allocations: 4 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.2827, allocations: 8 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.297e-05/0.2827, allocations: 11.98 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.2827, allocations: 15.88 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.147e-05/0.2828, allocations: 51.84 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2828, allocations: 0 / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2828, allocations: 0 / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2828, allocations: 0 / 1.054 GB, free: 6.73 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.0004748/0.2833, allocations: 355.7 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.2834, allocations: 8.625 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.29e-05/0.2834, allocations: 34.75 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.2835, allocations: 8.844 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.2836, allocations: 176.2 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.2837, allocations: 384 / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.2837, allocations: 4.375 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.2839, allocations: 73.59 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.2839, allocations: 0 / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.2839, allocations: 0 / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.2839, allocations: 4 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.2841, allocations: 43.95 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.2846, allocations: 296.7 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.2848, allocations: 66.53 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.285, allocations: 36.84 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.285, allocations: 4 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.285, allocations: 34.56 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.285, allocations: 0 / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003775/0.2854, allocations: 105.6 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.2855, allocations: 59.41 kB / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.185e-05/0.2855, allocations: 109.8 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.2856, allocations: 25.7 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.2856, allocations: 92.05 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.2856, allocations: 7.891 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.2857, allocations: 21.72 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.2858, allocations: 314.8 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.2859, allocations: 23.97 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.521e-05/0.286, allocations: 27.97 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.2862, allocations: 61.02 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2862, allocations: 0 / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002172/0.2864, allocations: 85.66 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2865, allocations: 4 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2865, allocations: 4 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2865, allocations: 0 / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.2866, allocations: 11.98 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2866, allocations: 0 / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.226e-05/0.2867, allocations: 7.984 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.2867, allocations: 0 / 1.056 GB, free: 4.434 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 7.505e-05/0.2868, allocations: 121.8 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.2868, allocations: 7.891 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.2869, allocations: 7.906 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2869, allocations: 0 / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2869, allocations: 4 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2869, allocations: 3.938 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.2871, allocations: 185.5 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2871, allocations: 0 / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.985e-05/0.2872, allocations: 11.98 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2872, allocations: 7.938 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.2872, allocations: 0 / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2872, allocations: 0 / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2872, allocations: 4 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.2875, allocations: 183.3 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.2875, allocations: 77.11 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.2875, allocations: 4 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.892e-05/0.2876, allocations: 7.984 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.2877, allocations: 11.98 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.2877, allocations: 4 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.851e-05/0.2877, allocations: 83.28 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2877, allocations: 3.938 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002121/0.288, allocations: 11.94 kB / 1.057 GB, free: 3.609 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.0005374/0.2885, allocations: 0.724 MB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.2887, allocations: 55.89 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2888, allocations: 0 / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.2889, allocations: 35.97 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.2892, allocations: 7.938 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.2906, allocations: 1.332 MB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.2908, allocations: 0.6846 MB / 1.06 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.599e-05/0.2908, allocations: 4 kB / 1.06 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.2909, allocations: 19.42 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2909, allocations: 0 / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.852/2.143, allocations: 1.656 MB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/2.143, allocations: 218.9 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/3.646, allocations: 1.25 kB / 1.062 GB, free: 14.84 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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