Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add",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.00433/0.00433, allocations: 100 kB / 15.73 MB, free: 6.055 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.001291/0.001291, allocations: 192.1 kB / 16.68 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.787/2.787, allocations: 482.4 MB / 0.7548 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 71.66 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2936, allocations: 162.2 MB / 1.242 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.00175/0.2954, allocations: 0.6983 MB / 1.242 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008924/0.2963, allocations: 0.8043 MB / 1.243 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.174e-05/0.2963, allocations: 0 / 1.243 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.391e-05/0.2964, allocations: 0 / 1.243 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.596e-05/0.2964, allocations: 7.875 kB / 1.243 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.376e-05/0.2965, allocations: 19.97 kB / 1.243 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.733e-05/0.2966, allocations: 43.91 kB / 1.243 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.295e-05/0.2967, allocations: 11.98 kB / 1.243 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.191e-05/0.2967, allocations: 15.92 kB / 1.243 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/0.2968, allocations: 23.92 kB / 1.243 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.2968, allocations: 4 kB / 1.243 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/0.2968, allocations: 4 kB / 1.243 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.2969, allocations: 7.938 kB / 1.243 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.2969, allocations: 15.92 kB / 1.243 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.16e-05/0.297, allocations: 52.02 kB / 1.243 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.297, allocations: 0 / 1.243 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.297, allocations: 0 / 1.243 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.297, allocations: 0 / 1.243 GB, free: 7.523 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005137/0.2975, allocations: 367.3 kB / 1.244 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.2976, allocations: 8.031 kB / 1.244 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.359e-05/0.2976, allocations: 30.75 kB / 1.244 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.482e-05/0.2976, allocations: 8.891 kB / 1.244 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.2978, allocations: 176.3 kB / 1.244 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.2978, allocations: 384 / 1.244 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.2978, allocations: 4.375 kB / 1.244 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.2981, allocations: 70.2 kB / 1.244 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2981, allocations: 3.938 kB / 1.244 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.2981, allocations: 0 / 1.244 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.2981, allocations: 0 / 1.244 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.2984, allocations: 71.88 kB / 1.244 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.2988, allocations: 272.8 kB / 1.244 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.299, allocations: 58.53 kB / 1.244 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.2992, allocations: 44.91 kB / 1.244 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.2992, allocations: 0 / 1.244 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.2992, allocations: 38.5 kB / 1.244 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.2992, allocations: 4 kB / 1.244 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005474/0.2998, allocations: 125.6 kB / 1.244 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.2998, allocations: 51.41 kB / 1.244 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.174e-05/0.2999, allocations: 105.8 kB / 1.245 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.2999, allocations: 25.7 kB / 1.245 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.3, allocations: 92.12 kB / 1.245 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.3, allocations: 7.906 kB / 1.245 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.3001, allocations: 17.72 kB / 1.245 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3002, allocations: 314.8 kB / 1.245 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.3004, allocations: 31.95 kB / 1.245 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.3005, allocations: 36.14 kB / 1.245 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.3008, allocations: 76.66 kB / 1.245 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3008, allocations: 0 / 1.245 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003329/0.3012, allocations: 93.62 kB / 1.245 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3012, allocations: 8 kB / 1.245 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3012, allocations: 320 / 1.245 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.3012, allocations: 0 / 1.245 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.3013, allocations: 23.97 kB / 1.245 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3014, allocations: 0 / 1.245 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.906e-05/0.3014, allocations: 7.984 kB / 1.245 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.3015, allocations: 7.984 kB / 1.245 GB, free: 5.148 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 (3): * Single equations (assignments): 3 * 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 9.184e-05/0.3016, allocations: 114.3 kB / 1.245 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.3016, allocations: 11.89 kB / 1.245 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/0.3016, allocations: 11.84 kB / 1.245 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3016, allocations: 3.984 kB / 1.245 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3016, allocations: 4 kB / 1.245 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.3016, allocations: 0 / 1.245 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.3018, allocations: 169.6 kB / 1.246 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3018, allocations: 0 / 1.246 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.962e-05/0.3019, allocations: 19.92 kB / 1.246 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.302, allocations: 0 / 1.246 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.302, allocations: 0 / 1.246 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.302, allocations: 0 / 1.246 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.302, allocations: 3.984 kB / 1.246 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.3024, allocations: 195.4 kB / 1.246 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.371e-05/0.3024, allocations: 81.06 kB / 1.246 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.3024, allocations: 4 kB / 1.246 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.3026, allocations: 11.98 kB / 1.246 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.3026, allocations: 3.984 kB / 1.246 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.3026, allocations: 11.94 kB / 1.246 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.423e-05/0.3027, allocations: 95.25 kB / 1.246 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3027, allocations: 0 / 1.246 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002246/0.3029, allocations: 11.94 kB / 1.246 GB, free: 4.309 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 (3): * Single equations (assignments): 3 * 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.0007163/0.3036, allocations: 0.7241 MB / 1.247 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003459/0.304, allocations: 71.86 kB / 1.247 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.304, allocations: 0 / 1.247 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.3042, allocations: 39.95 kB / 1.247 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.3045, allocations: 11.94 kB / 1.247 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/0.3049, allocations: 151.5 kB / 1.247 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.3052, allocations: 0.6807 MB / 1.248 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.998e-05/0.3052, allocations: 4 kB / 1.248 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.3053, allocations: 15.44 kB / 1.248 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of SimCode: time 2.71e-07/0.3053, allocations: 0 / 1.248 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.3256, allocations: 1.62 MB / 1.249 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.547/7.872, allocations: 13.05 kB / 1.249 GB, free: 0.9844 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_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_Add.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches