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 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.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.004543/0.004543, allocations: 102.7 kB / 15.74 MB, free: 6.496 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.001346/0.001346, allocations: 195.5 kB / 16.68 MB, free: 6.375 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.006/3.006, allocations: 482.4 MB / 0.7548 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 67.89 kB / 1.083 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.295, allocations: 162.2 MB / 1.242 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001942/0.2969, allocations: 0.6783 MB / 1.242 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009804/0.2979, allocations: 0.7884 MB / 1.243 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.496e-05/0.298, allocations: 0 / 1.243 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.298, allocations: 3.938 kB / 1.243 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.67e-05/0.2981, allocations: 0 / 1.243 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.047e-05/0.2982, allocations: 7.984 kB / 1.243 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.952e-05/0.2982, allocations: 27.92 kB / 1.243 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.628e-05/0.2983, allocations: 4 kB / 1.243 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.344e-05/0.2984, allocations: 11.94 kB / 1.243 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.007e-05/0.2985, allocations: 15.92 kB / 1.243 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.2985, allocations: 4 kB / 1.243 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.662e-06/0.2985, allocations: 0 / 1.243 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.2985, allocations: 3.984 kB / 1.243 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.2986, allocations: 19.86 kB / 1.243 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.219e-05/0.2986, allocations: 19.91 kB / 1.243 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2987, allocations: 0 / 1.243 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2987, allocations: 0 / 1.243 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.2987, allocations: 7.938 kB / 1.243 GB, free: 8.488 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004546/0.2991, allocations: 339.5 kB / 1.243 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2992, allocations: 8.031 kB / 1.243 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.2992, allocations: 30.75 kB / 1.243 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.2993, allocations: 8.891 kB / 1.243 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.2994, allocations: 172.3 kB / 1.244 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.2994, allocations: 384 / 1.244 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.662e-06/0.2994, allocations: 384 / 1.244 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.2996, allocations: 54.23 kB / 1.244 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.2996, allocations: 3.938 kB / 1.244 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.2996, allocations: 0 / 1.244 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2997, allocations: 4 kB / 1.244 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.2998, allocations: 35.89 kB / 1.244 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.3002, allocations: 249 kB / 1.244 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.3003, allocations: 42.5 kB / 1.244 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.877e-05/0.3004, allocations: 24.91 kB / 1.244 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.218e-06/0.3005, allocations: 0 / 1.244 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.3005, allocations: 38.48 kB / 1.244 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.3005, allocations: 0 / 1.244 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003605/0.3009, allocations: 85.61 kB / 1.244 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.3009, allocations: 51.41 kB / 1.244 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.528e-05/0.301, allocations: 105.8 kB / 1.244 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.301, allocations: 25.7 kB / 1.244 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.3011, allocations: 80.14 kB / 1.244 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.3011, allocations: 7.953 kB / 1.244 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.3012, allocations: 21.83 kB / 1.244 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.3013, allocations: 310.8 kB / 1.245 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.752e-05/0.3014, allocations: 15.98 kB / 1.245 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.464e-05/0.3015, allocations: 15.98 kB / 1.245 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.3017, allocations: 48.69 kB / 1.245 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3017, allocations: 8 kB / 1.245 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002028/0.3019, allocations: 61.67 kB / 1.245 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3019, allocations: 8 kB / 1.245 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3019, allocations: 0 / 1.245 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3019, allocations: 3.984 kB / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.834e-05/0.302, allocations: 4 kB / 1.245 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.302, allocations: 0 / 1.245 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.836e-05/0.3021, allocations: 8.016 kB / 1.245 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.3021, allocations: 8 kB / 1.245 GB, free: 6.41 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: 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 8.921e-05/0.3022, allocations: 110.3 kB / 1.245 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.3022, allocations: 0 / 1.245 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/0.3023, allocations: 11.12 kB / 1.245 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3023, allocations: 3.938 kB / 1.245 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3023, allocations: 256 / 1.245 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3023, allocations: 7.922 kB / 1.245 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.3025, allocations: 165.6 kB / 1.245 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3025, allocations: 0 / 1.245 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.285e-05/0.3026, allocations: 15.98 kB / 1.245 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3026, allocations: 0 / 1.245 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.3026, allocations: 0 / 1.245 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3026, allocations: 0 / 1.245 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3026, allocations: 0 / 1.245 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.3029, allocations: 167.5 kB / 1.245 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.3029, allocations: 77.11 kB / 1.245 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.303, allocations: 4 kB / 1.245 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-05/0.303, allocations: 7.984 kB / 1.245 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.3031, allocations: 0 / 1.245 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.3031, allocations: 0 / 1.245 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.127e-05/0.3031, allocations: 83.28 kB / 1.245 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3031, allocations: 0 / 1.245 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002192/0.3034, allocations: 4 kB / 1.245 GB, free: 5.672 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: 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.0006468/0.304, allocations: 0.707 MB / 1.246 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.3043, allocations: 32 kB / 1.246 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3043, allocations: 4.062 kB / 1.246 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.367e-05/0.3044, allocations: 23.92 kB / 1.246 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.3047, allocations: 17.11 kB / 1.246 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.3051, allocations: 131 kB / 1.246 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.3054, allocations: 0.6768 MB / 1.247 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.864e-05/0.3055, allocations: 4.062 kB / 1.247 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.3055, allocations: 19.38 kB / 1.247 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.3055, allocations: 0 / 1.247 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02047/0.326, allocations: 1.298 MB / 1.248 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.557/7.883, allocations: 14.59 kB / 1.248 GB, free: 2.758 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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_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.csv","/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