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.009858/0.009858, allocations: 103.6 kB / 15.73 MB, free: 6.445 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.001727/0.001727, allocations: 190.6 kB / 16.67 MB, free: 6.355 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.509/1.509, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.895/2.895, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001499, allocations: 63.91 kB / 1.054 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3723, allocations: 157.4 MB / 1.207 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002404/0.3747, allocations: 0.675 MB / 1.208 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.3759, allocations: 0.7884 MB / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.718e-05/0.376, allocations: 0 / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.488e-05/0.376, allocations: 0 / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.099e-05/0.3761, allocations: 3.938 kB / 1.209 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.379e-05/0.3762, allocations: 11.98 kB / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.69e-05/0.3763, allocations: 19.94 kB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.3764, allocations: 11.98 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.838e-05/0.3765, allocations: 11.94 kB / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.164e-05/0.3766, allocations: 7.984 kB / 1.209 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.3766, allocations: 4 kB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.083e-06/0.3766, allocations: 0 / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.3766, allocations: 11.92 kB / 1.209 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.3767, allocations: 11.92 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.444e-05/0.3768, allocations: 15.97 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3768, allocations: 0 / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3768, allocations: 0 / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.3768, allocations: 8 kB / 1.209 GB, free: 8.488 MB / 0.9669 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.0005152/0.3773, allocations: 343.6 kB / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.3774, allocations: 8.625 kB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.228e-05/0.3774, allocations: 38.69 kB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.3775, allocations: 0.9375 kB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.3776, allocations: 168.3 kB / 1.209 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3777, allocations: 8.375 kB / 1.209 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.3777, allocations: 384 / 1.209 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.3779, allocations: 50.25 kB / 1.209 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3779, allocations: 7.922 kB / 1.209 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.3779, allocations: 0 / 1.209 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3779, allocations: 0 / 1.209 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.3781, allocations: 31.97 kB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.3785, allocations: 248.9 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.3786, allocations: 42.5 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.314e-05/0.3787, allocations: 24.91 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.3788, allocations: 0 / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.3788, allocations: 30.56 kB / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.3788, allocations: 4 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003644/0.3792, allocations: 85.58 kB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.3792, allocations: 51.41 kB / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.156e-05/0.3793, allocations: 109.8 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.3793, allocations: 25.7 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.3794, allocations: 80.14 kB / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.3794, allocations: 7.906 kB / 1.21 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.3795, allocations: 21.78 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3796, allocations: 318.8 kB / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.3797, allocations: 15.98 kB / 1.211 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.178e-05/0.3797, allocations: 11.98 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.3799, allocations: 40.81 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.3799, allocations: 8 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001981/0.3801, allocations: 69.61 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3801, allocations: 5.719 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3802, allocations: 0 / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3802, allocations: 0 / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.709e-05/0.3803, allocations: 11.98 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3803, allocations: 3.938 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.021e-05/0.3803, allocations: 15.92 kB / 1.211 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.3804, allocations: 0 / 1.211 GB, free: 6.402 MB / 0.9669 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 7.883e-05/0.3804, allocations: 109.8 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.3805, allocations: 4 kB / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.012e-05/0.3805, allocations: 7.125 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3805, allocations: 0 / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3805, allocations: 0 / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3805, allocations: 0 / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.3807, allocations: 169.6 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3807, allocations: 0 / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.3808, allocations: 11.98 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3808, allocations: 0 / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.3808, allocations: 0 / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3808, allocations: 4 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3808, allocations: 3.938 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.3811, allocations: 167.5 kB / 1.211 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/0.3811, allocations: 81.05 kB / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.3811, allocations: 0 / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.3812, allocations: 7.984 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.3812, allocations: 0 / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.3813, allocations: 256 / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.493e-05/0.3813, allocations: 87.28 kB / 1.211 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3813, allocations: 4 kB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002114/0.3815, allocations: 0 / 1.211 GB, free: 5.668 MB / 0.9669 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.0006223/0.3822, allocations: 0.7045 MB / 1.212 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002274/0.3824, allocations: 43.98 kB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3824, allocations: 0 / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.574e-05/0.3825, allocations: 19.98 kB / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.3828, allocations: 3.938 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005773/0.3834, allocations: 155 kB / 1.212 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.3838, allocations: 0.6729 MB / 1.213 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.263e-05/0.3838, allocations: 4.125 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.3838, allocations: 15.42 kB / 1.213 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.3839, allocations: 0 / 1.213 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.4034, allocations: 1.313 MB / 1.214 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.361/7.765, allocations: 10.33 kB / 1.214 GB, free: 2.746 MB / 0.9669 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