Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.001237/0.001237, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001169/0.001169, allocations: 188 kB / 16.25 MB, free: 6.641 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.252/1.252, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.504/2.504, allocations: 461.9 MB / 0.7343 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 74.36 kB / 0.8987 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2498, allocations: 157.4 MB / 1.052 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001561/0.2514, allocations: 0.7361 MB / 1.053 GB, free: 7.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000631/0.252, allocations: 0.7845 MB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.2521, allocations: 4 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.135e-05/0.2521, allocations: 0 / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.709e-05/0.2521, allocations: 3.984 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.38e-05/0.2522, allocations: 8 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.613e-05/0.2522, allocations: 31.91 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.613e-05/0.2523, allocations: 4 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.482e-05/0.2523, allocations: 11.94 kB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.619e-05/0.2524, allocations: 15.92 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.188e-06/0.2524, allocations: 0 / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.641e-06/0.2524, allocations: 4 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.917e-06/0.2524, allocations: 0 / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.2524, allocations: 15.92 kB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.604e-05/0.2525, allocations: 19.97 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2525, allocations: 0 / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2525, allocations: 7.875 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.865e-06/0.2525, allocations: 3.938 kB / 1.054 GB, free: 7.012 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003094/0.2528, allocations: 335.8 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.2528, allocations: 12.62 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.426e-05/0.2529, allocations: 34.75 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.491e-05/0.2529, allocations: 4.844 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.049e-05/0.253, allocations: 176.4 kB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-06/0.253, allocations: 4.375 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.253, allocations: 384 / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.2532, allocations: 54.22 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.2532, allocations: 3.938 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.209e-06/0.2532, allocations: 0 / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-06/0.2532, allocations: 0 / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.2533, allocations: 35.91 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.2536, allocations: 249 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.921e-05/0.2537, allocations: 42.5 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.728e-05/0.2538, allocations: 24.91 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-06/0.2538, allocations: 0 / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.2538, allocations: 38.55 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.2538, allocations: 0 / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002782/0.2541, allocations: 85.5 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.2541, allocations: 51.41 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.439e-05/0.2542, allocations: 105.8 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.2542, allocations: 25.7 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.2542, allocations: 88.27 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.195e-05/0.2542, allocations: 3.906 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.2543, allocations: 17.7 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.341e-05/0.2544, allocations: 314.8 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.922e-05/0.2544, allocations: 11.98 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-05/0.2545, allocations: 19.98 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.2546, allocations: 44.81 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2546, allocations: 3.938 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001604/0.2548, allocations: 61.67 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.2548, allocations: 4 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-06/0.2548, allocations: 4 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.2549, allocations: 0 / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.746e-05/0.2549, allocations: 15.95 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.2549, allocations: 0 / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.197e-05/0.255, allocations: 7.984 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.255, allocations: 3.984 kB / 1.056 GB, free: 4.93 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.556e-05/0.2551, allocations: 117.8 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.2551, allocations: 0 / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.189e-05/0.2551, allocations: 7.062 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.2551, allocations: 4 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.2551, allocations: 4 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-06/0.2551, allocations: 0 / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.2552, allocations: 161.6 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2553, allocations: 256 / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.454e-05/0.2553, allocations: 15.92 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.2553, allocations: 4 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.2553, allocations: 0 / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.2553, allocations: 0 / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2553, allocations: 0 / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.2555, allocations: 171.4 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.2556, allocations: 81.05 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.2556, allocations: 0 / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.2557, allocations: 7.984 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.2557, allocations: 8 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.2557, allocations: 0 / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.924e-05/0.2557, allocations: 79.28 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2557, allocations: 4.031 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001978/0.2559, allocations: 4 kB / 1.056 GB, free: 4.184 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004376/0.2564, allocations: 0.7006 MB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.2566, allocations: 40 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2566, allocations: 0 / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.026e-05/0.2566, allocations: 19.92 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.2569, allocations: 11.09 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.2572, allocations: 143.3 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.2574, allocations: 0.6768 MB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.951e-05/0.2574, allocations: 0 / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.2574, allocations: 11.44 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of SimCode: time 1.353e-06/0.2575, allocations: 0 / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.331/3.588, allocations: 1.137 MB / 1.059 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003234/3.589, allocations: 213.7 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/5.103, allocations: 5 kB / 1.059 GB, free: 1.23 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches