Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",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.004406/0.004406, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001254/0.001254, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.901/2.901, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 75.89 kB / 1.083 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2914, allocations: 162.2 MB / 1.241 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001986/0.2934, allocations: 0.8358 MB / 1.242 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001117/0.2935, allocations: 43.78 kB / 1.242 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.579e-05/0.2936, allocations: 0 / 1.242 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/0.2936, allocations: 7.875 kB / 1.242 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.065e-05/0.2937, allocations: 15.88 kB / 1.242 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.123e-05/0.2937, allocations: 23.97 kB / 1.242 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.432e-05/0.2938, allocations: 59.83 kB / 1.242 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.072e-05/0.2939, allocations: 43.97 kB / 1.242 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.595e-05/0.2939, allocations: 31.8 kB / 1.243 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.805e-05/0.294, allocations: 23.86 kB / 1.243 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.294, allocations: 4 kB / 1.243 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.294, allocations: 8 kB / 1.243 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.2941, allocations: 15.92 kB / 1.243 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.2941, allocations: 35.75 kB / 1.243 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.2942, allocations: 79.56 kB / 1.243 GB, free: 9 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.2942, allocations: 0 / 1.243 GB, free: 9 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.72e-07/0.2942, allocations: 0 / 1.243 GB, free: 9 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.2942, allocations: 4 kB / 1.243 GB, free: 8.996 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003794/0.2946, allocations: 379.1 kB / 1.243 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.435e-05/0.2946, allocations: 8.031 kB / 1.243 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.886e-05/0.2947, allocations: 46.73 kB / 1.243 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.32e-05/0.2947, allocations: 12.84 kB / 1.243 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.2949, allocations: 188.2 kB / 1.243 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.2949, allocations: 4.375 kB / 1.243 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.2949, allocations: 12.38 kB / 1.243 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.2951, allocations: 97.34 kB / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2951, allocations: 3.938 kB / 1.243 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.2951, allocations: 0 / 1.243 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2951, allocations: 4 kB / 1.243 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.442e-05/0.2952, allocations: 39.92 kB / 1.243 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.2957, allocations: 432.7 kB / 1.244 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.298e-05/0.2958, allocations: 45.25 kB / 1.244 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.2958, allocations: 17.77 kB / 1.244 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-06/0.2958, allocations: 0 / 1.244 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.2959, allocations: 38.56 kB / 1.244 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.2959, allocations: 4 kB / 1.244 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001379/0.296, allocations: 53.53 kB / 1.244 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.2961, allocations: 77.11 kB / 1.244 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.2962, allocations: 164.6 kB / 1.244 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.2962, allocations: 33.58 kB / 1.244 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.2963, allocations: 100.1 kB / 1.244 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.626e-06/0.2963, allocations: 7.953 kB / 1.244 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.2964, allocations: 25.95 kB / 1.244 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.2965, allocations: 314.8 kB / 1.245 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.2965, allocations: 4 kB / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.147e-05/0.2966, allocations: 25.64 kB / 1.245 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.736e-05/0.2966, allocations: 21.72 kB / 1.245 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2966, allocations: 0 / 1.245 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.639e-05/0.2967, allocations: 73.53 kB / 1.245 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2968, allocations: 7.938 kB / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-06/0.2968, allocations: 0 / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.2968, allocations: 4 kB / 1.245 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.354e-05/0.2968, allocations: 4 kB / 1.245 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.2968, allocations: 0 / 1.245 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.201e-05/0.2969, allocations: 7.938 kB / 1.245 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-06/0.2969, allocations: 0 / 1.245 GB, free: 6.516 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.894e-05/0.297, allocations: 114.4 kB / 1.245 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.297, allocations: 15.89 kB / 1.245 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.518e-05/0.297, allocations: 15.86 kB / 1.245 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2971, allocations: 0 / 1.245 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2971, allocations: 4 kB / 1.245 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.2971, allocations: 0 / 1.245 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.2975, allocations: 470.7 kB / 1.245 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.2975, allocations: 0 / 1.245 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.926e-05/0.2975, allocations: 8.156 kB / 1.245 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2976, allocations: 7.922 kB / 1.245 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.2976, allocations: 4 kB / 1.245 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2976, allocations: 0 / 1.245 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2976, allocations: 0 / 1.245 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.996e-05/0.2977, allocations: 81.88 kB / 1.246 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-05/0.2977, allocations: 93.08 kB / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.2978, allocations: 0 / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.2978, allocations: 0 / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.2978, allocations: 8 kB / 1.246 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.2978, allocations: 3.938 kB / 1.246 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001071/0.2979, allocations: 121.7 kB / 1.246 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.2979, allocations: 0 / 1.246 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001923/0.2981, allocations: 8 kB / 1.246 GB, free: 5.465 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0004251/0.2986, allocations: 0.6171 MB / 1.246 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.171e-05/0.2986, allocations: 23.88 kB / 1.246 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.2986, allocations: 0 / 1.246 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.278e-05/0.2987, allocations: 4 kB / 1.246 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.2988, allocations: 12.28 kB / 1.246 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.3, allocations: 1.335 MB / 1.248 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.3004, allocations: 0.6924 MB / 1.248 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.629e-05/0.3004, allocations: 8.438 kB / 1.248 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.3004, allocations: 23.42 kB / 1.248 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.3005, allocations: 0 / 1.248 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.3206, allocations: 1.574 MB / 1.25 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.739/8.059, allocations: 7.172 kB / 1.25 GB, free: 1.121 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches