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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001522/0.001522, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001794/0.001794, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.23/1.23, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.407/2.407, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.23 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2265, allocations: 157.4 MB / 1.052 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001765/0.2283, allocations: 0.7262 MB / 1.053 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007223/0.229, allocations: 0.7923 MB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.881e-05/0.2291, allocations: 4 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.372e-05/0.2291, allocations: 0 / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.552e-05/0.2292, allocations: 3.938 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.978e-05/0.2292, allocations: 8 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.205e-05/0.2293, allocations: 27.86 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.167e-05/0.2294, allocations: 8 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.918e-05/0.2294, allocations: 11.98 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.293e-05/0.2295, allocations: 11.92 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.2295, allocations: 0 / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-06/0.2295, allocations: 4 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.2295, allocations: 7.984 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.2295, allocations: 3.938 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.375e-05/0.2296, allocations: 19.91 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.2296, allocations: 7.984 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.41e-07/0.2296, allocations: 0 / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.2296, allocations: 4 kB / 1.054 GB, free: 6.551 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.0003599/0.23, allocations: 335.8 kB / 1.054 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.23, allocations: 11.97 kB / 1.054 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.2301, allocations: 38.75 kB / 1.054 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.068e-05/0.2301, allocations: 12.78 kB / 1.054 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.833e-05/0.2302, allocations: 160.4 kB / 1.054 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.2302, allocations: 8.375 kB / 1.054 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.2302, allocations: 384 / 1.054 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.2304, allocations: 54.17 kB / 1.054 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.2304, allocations: 3.938 kB / 1.054 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-06/0.2304, allocations: 0 / 1.054 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.2304, allocations: 0 / 1.054 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.2305, allocations: 35.95 kB / 1.054 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.2308, allocations: 245 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.2309, allocations: 42.44 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.89e-05/0.231, allocations: 28.89 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.218e-06/0.2311, allocations: 0 / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.2311, allocations: 34.56 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.2311, allocations: 4 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002985/0.2314, allocations: 81.55 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.2314, allocations: 51.41 kB / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.504e-05/0.2315, allocations: 101.9 kB / 1.055 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.2315, allocations: 29.64 kB / 1.055 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.2315, allocations: 92.19 kB / 1.055 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.2316, allocations: 11.91 kB / 1.055 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.2316, allocations: 9.719 kB / 1.055 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.457e-05/0.2317, allocations: 314.8 kB / 1.055 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.79e-05/0.2318, allocations: 15.98 kB / 1.055 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-05/0.2318, allocations: 15.97 kB / 1.055 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.232, allocations: 44.89 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.232, allocations: 3.938 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000169/0.2322, allocations: 65.66 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2322, allocations: 4 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.2322, allocations: 0 / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.2322, allocations: 0 / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.917e-05/0.2323, allocations: 19.95 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2323, allocations: 0 / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.412e-05/0.2323, allocations: 4 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.2324, allocations: 0 / 1.056 GB, free: 4.473 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.597e-05/0.2324, allocations: 109.8 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.2324, allocations: 8 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.496e-05/0.2325, allocations: 7.109 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2325, allocations: 0 / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.2325, allocations: 0 / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.2325, allocations: 4.25 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.2326, allocations: 161.6 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2326, allocations: 11.92 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.2327, allocations: 7.984 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2327, allocations: 0 / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.2327, allocations: 0 / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2327, allocations: 0 / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2327, allocations: 4 kB / 1.056 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.2329, allocations: 175.3 kB / 1.056 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.886e-05/0.233, allocations: 81.05 kB / 1.056 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.233, allocations: 0 / 1.056 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/0.233, allocations: 7.984 kB / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.2331, allocations: 0 / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.2331, allocations: 0 / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.928e-05/0.2331, allocations: 87.27 kB / 1.056 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2331, allocations: 7.969 kB / 1.056 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001987/0.2333, allocations: 4 kB / 1.056 GB, free: 3.719 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.000447/0.2338, allocations: 0.6952 MB / 1.057 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001701/0.234, allocations: 43.94 kB / 1.057 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.234, allocations: 0 / 1.057 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.632e-05/0.2341, allocations: 19.97 kB / 1.057 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.2343, allocations: 4 kB / 1.057 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/0.2347, allocations: 141 kB / 1.057 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.2349, allocations: 0.6809 MB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.072e-05/0.2349, allocations: 0 / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.2349, allocations: 11.44 kB / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of SimCode: time 1.9e-07/0.2349, allocations: 0 / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00944/0.2444, allocations: 1.095 MB / 1.059 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.2446, allocations: 211.2 kB / 1.059 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/1.715, allocations: 9.328 kB / 1.059 GB, free: 0.7891 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