Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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 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.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_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.00784/0.00784, 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.00215/0.00215, allocations: 193.8 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.934/2.934, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 63.91 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3911, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002251/0.3934, allocations: 0.8195 MB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001395/0.3936, allocations: 43.78 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.3936, allocations: 4 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.839e-05/0.3937, allocations: 7.875 kB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.194e-05/0.3938, allocations: 15.86 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.542e-05/0.3938, allocations: 15.98 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.394, allocations: 63.83 kB / 1.221 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.3942, allocations: 51.86 kB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.639e-05/0.3943, allocations: 35.73 kB / 1.221 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.915e-05/0.3943, allocations: 23.86 kB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.3944, allocations: 8 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.291e-05/0.3944, allocations: 4 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.692e-05/0.3944, allocations: 15.92 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.3945, allocations: 31.8 kB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.3946, allocations: 87.52 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3946, allocations: 0 / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3947, allocations: 0 / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.3947, allocations: 0 / 1.221 GB, free: 13.09 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006245/0.3953, allocations: 375.2 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.3954, allocations: 12.02 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.058e-05/0.3954, allocations: 38.75 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.3955, allocations: 12.84 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.3957, allocations: 192.2 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.3958, allocations: 16.31 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.3958, allocations: 4.375 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.396, allocations: 94.05 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.396, allocations: 7.938 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.396, allocations: 8 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.396, allocations: 0 / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.306e-05/0.3961, allocations: 35.92 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006551/0.3968, allocations: 440.7 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.017e-05/0.3969, allocations: 41.17 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.284e-05/0.3969, allocations: 17.84 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.3969, allocations: 8 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.397, allocations: 30.56 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.397, allocations: 0 / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002054/0.3972, allocations: 57.52 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.3973, allocations: 81.11 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.3974, allocations: 160.2 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.3975, allocations: 29.95 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.952e-05/0.3976, allocations: 104.1 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.144e-05/0.3976, allocations: 7.938 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.3976, allocations: 21.67 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3978, allocations: 310.8 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/0.3978, allocations: 11.98 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.218e-05/0.3979, allocations: 21.66 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.22e-05/0.3979, allocations: 33.66 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3979, allocations: 0 / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.98e-05/0.398, allocations: 61.52 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.398, allocations: 7.938 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3981, allocations: 4 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3981, allocations: 0 / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.09e-05/0.3982, allocations: 8 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3982, allocations: 0 / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.994e-05/0.3982, allocations: 8 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.3982, allocations: 4 kB / 1.224 GB, free: 10.6 MB / 0.9825 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 9.496e-05/0.3983, allocations: 113.8 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.3984, allocations: 15.88 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.3984, allocations: 7.875 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3984, allocations: 96 / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.3984, allocations: 0 / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.3984, allocations: 7.984 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004731/0.3989, allocations: 474.7 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3989, allocations: 4 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.644e-05/0.3989, allocations: 0 / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3989, allocations: 4 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.399, allocations: 3.984 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.399, allocations: 3.938 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.399, allocations: 0 / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.336e-05/0.3991, allocations: 81.95 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/0.3991, allocations: 89.05 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.3992, allocations: 0 / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.95e-05/0.3992, allocations: 8 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.3992, allocations: 0 / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.3992, allocations: 0 / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000105/0.3993, allocations: 121.3 kB / 1.224 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3993, allocations: 0 / 1.224 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001924/0.3995, allocations: 16.03 kB / 1.224 GB, free: 9.559 MB / 0.9825 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.0005128/0.4, allocations: 0.6137 MB / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.4002, allocations: 19.97 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4002, allocations: 0 / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.548e-05/0.4002, allocations: 11.98 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.4004, allocations: 11.94 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.4017, allocations: 1.327 MB / 1.226 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.402, allocations: 0.6968 MB / 1.227 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.457e-05/0.4021, allocations: 12.36 kB / 1.227 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.4021, allocations: 23.44 kB / 1.227 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.4021, allocations: 0 / 1.227 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.425, allocations: 1.577 MB / 1.229 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.776/8.201, allocations: 12.78 kB / 1.229 GB, free: 5.199 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches