Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",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.00148/0.00148, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001721/0.001721, allocations: 192.7 kB / 16.25 MB, free: 6.621 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.293/1.293, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.416/3.416, allocations: 461.9 MB / 0.7343 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 63.27 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3882, allocations: 157.4 MB / 1.052 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.003117/0.3914, allocations: 0.8902 MB / 1.053 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001536/0.3916, allocations: 39.78 kB / 1.053 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.218e-05/0.3917, allocations: 4 kB / 1.053 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.268e-05/0.3917, allocations: 3.938 kB / 1.053 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.3919, allocations: 7.922 kB / 1.053 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.355e-05/0.3919, allocations: 20 kB / 1.053 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.3921, allocations: 59.84 kB / 1.053 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.3923, allocations: 39.97 kB / 1.053 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.871e-05/0.3924, allocations: 35.8 kB / 1.053 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.55e-05/0.3925, allocations: 27.84 kB / 1.054 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.3925, allocations: 8 kB / 1.054 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.498e-05/0.3925, allocations: 4 kB / 1.054 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.232e-05/0.3926, allocations: 19.92 kB / 1.054 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.362e-05/0.3926, allocations: 35.75 kB / 1.054 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.3928, allocations: 71.97 kB / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3928, allocations: 0 / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3928, allocations: 0 / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.3928, allocations: 0 / 1.054 GB, free: 7.309 MB / 0.8106 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.0005418/0.3934, allocations: 379.3 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.364e-05/0.3935, allocations: 8.625 kB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.722e-05/0.3935, allocations: 42.73 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.3936, allocations: 8.844 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.3939, allocations: 188.2 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.3939, allocations: 8.281 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.3939, allocations: 16.31 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.3942, allocations: 97.44 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.3942, allocations: 7.938 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3942, allocations: 0 / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.3943, allocations: 4 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.3944, allocations: 39.92 kB / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007555/0.3952, allocations: 436.5 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.287e-05/0.3953, allocations: 41.22 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.3953, allocations: 21.77 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.3953, allocations: 0 / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.3954, allocations: 42.59 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 4.038e-06/0.3954, allocations: 7.984 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002562/0.3957, allocations: 53.48 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.3957, allocations: 77.11 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.396, allocations: 164.2 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.396, allocations: 25.7 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.988e-05/0.3961, allocations: 100 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.3961, allocations: 7.906 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.3962, allocations: 21.95 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3964, allocations: 318.8 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.79e-05/0.3964, allocations: 4 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.112e-05/0.3964, allocations: 21.7 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.712e-05/0.3965, allocations: 25.66 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3965, allocations: 4 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001477/0.3967, allocations: 61.59 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3967, allocations: 7.938 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3967, allocations: 0 / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3968, allocations: 4 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.361e-05/0.3969, allocations: 4 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.3969, allocations: 3.938 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.79e-05/0.3969, allocations: 11.84 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.397, allocations: 0 / 1.056 GB, free: 4.82 MB / 0.8106 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 0.0001079/0.3971, allocations: 113.8 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/0.3972, allocations: 15.91 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.3972, allocations: 15.86 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3972, allocations: 3.938 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3973, allocations: 0 / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3973, allocations: 0 / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006203/0.3979, allocations: 470.8 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3979, allocations: 0 / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.398, allocations: 8.062 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.398, allocations: 0 / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.398, allocations: 8 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.398, allocations: 0 / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.398, allocations: 0 / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.3982, allocations: 81.77 kB / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.289e-05/0.3983, allocations: 92.94 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.3983, allocations: 4.031 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.927e-05/0.3983, allocations: 0 / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.3984, allocations: 8 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.3984, allocations: 0 / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001415/0.3985, allocations: 122.5 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.61e-07/0.3985, allocations: 0 / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003855/0.3989, allocations: 8 kB / 1.057 GB, free: 3.777 MB / 0.8106 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.0004941/0.3994, allocations: 0.617 MB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.3996, allocations: 16 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3996, allocations: 0 / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.379e-05/0.3996, allocations: 7.938 kB / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.3999, allocations: 16.27 kB / 1.057 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.4018, allocations: 1.342 MB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.4021, allocations: 0.6885 MB / 1.059 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.783e-05/0.4022, allocations: 8.422 kB / 1.059 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.948e-05/0.4023, allocations: 19.44 kB / 1.059 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of SimCode: time 4.1e-07/0.4023, allocations: 0 / 1.059 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4316/0.8339, allocations: 1.464 MB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.8342, allocations: 219.7 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.912/3.746, allocations: 1.75 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches