Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="Buildings_11_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.009118/0.009118, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.002166/0.002166, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.936/2.936, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.89 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3061, allocations: 159.1 MB / 1.22 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001798/0.3079, allocations: 0.6671 MB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008828/0.3088, allocations: 0.7785 MB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.3089, allocations: 4 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.3089, allocations: 7.938 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.171e-05/0.309, allocations: 3.938 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.05e-05/0.309, allocations: 7.984 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.804e-05/0.3091, allocations: 23.92 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.199e-05/0.3092, allocations: 8 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.747e-05/0.3093, allocations: 15.91 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.88e-05/0.3093, allocations: 8 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.3093, allocations: 3.938 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.305e-06/0.3093, allocations: 8 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.3094, allocations: 7.984 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.3094, allocations: 7.938 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.523e-05/0.3095, allocations: 19.97 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3095, allocations: 3.938 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3095, allocations: 0 / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3095, allocations: 0 / 1.222 GB, free: 12.61 MB / 0.9825 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.0004652/0.31, allocations: 337 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.31, allocations: 16.03 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.958e-05/0.31, allocations: 34.73 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.051e-05/0.3101, allocations: 4.891 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.3102, allocations: 168.3 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.3102, allocations: 384 / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-06/0.3102, allocations: 384 / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.3104, allocations: 54.17 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3104, allocations: 3.938 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.3104, allocations: 0 / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3104, allocations: 0 / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.3106, allocations: 35.97 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.311, allocations: 249 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.3111, allocations: 42.44 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.819e-05/0.3112, allocations: 28.89 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.3112, allocations: 4 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.3113, allocations: 38.56 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.3113, allocations: 0 / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003992/0.3117, allocations: 81.59 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.3117, allocations: 55.53 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.563e-05/0.3118, allocations: 101.8 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.3118, allocations: 25.7 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.3119, allocations: 88.14 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.3119, allocations: 15.86 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.312, allocations: 13.72 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3121, allocations: 314.8 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.624e-05/0.3122, allocations: 11.98 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.257e-05/0.3123, allocations: 23.98 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.3124, allocations: 36.81 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.3124, allocations: 3.938 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001995/0.3126, allocations: 65.66 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3127, allocations: 8.094 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.3127, allocations: 3.938 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.3127, allocations: 4 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.424e-05/0.3128, allocations: 7.938 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.3128, allocations: 0 / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.3129, allocations: 7.984 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.3129, allocations: 0 / 1.224 GB, free: 10.52 MB / 0.9825 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.518e-05/0.313, allocations: 117.8 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.313, allocations: 11.94 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.606e-05/0.313, allocations: 7.109 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.313, allocations: 4 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.313, allocations: 0 / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.313, allocations: 0 / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.3132, allocations: 157.6 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3132, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.083e-05/0.3133, allocations: 11.98 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.3133, allocations: 4 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.3133, allocations: 0 / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3133, allocations: 0 / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3133, allocations: 4 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.3136, allocations: 163.4 kB / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.3136, allocations: 77.11 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.3137, allocations: 0 / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-05/0.3137, allocations: 12.23 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.3138, allocations: 8.031 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.3138, allocations: 4 kB / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.532e-05/0.3138, allocations: 83.27 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3138, allocations: 0 / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002119/0.3141, allocations: 4 kB / 1.224 GB, free: 9.777 MB / 0.9825 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.0005985/0.3147, allocations: 0.7089 MB / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002109/0.3149, allocations: 35.91 kB / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3149, allocations: 0 / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.106e-05/0.315, allocations: 19.97 kB / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.3153, allocations: 16.09 kB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.3156, allocations: 131 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.3159, allocations: 0.6768 MB / 1.226 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.357e-05/0.316, allocations: 0 / 1.226 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.316, allocations: 15.38 kB / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.316, allocations: 0 / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.3378, allocations: 1.303 MB / 1.227 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/8.148, allocations: 19.84 kB / 1.227 GB, free: 6.859 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches