Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_Btu,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_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.005166/0.005165, allocations: 103.5 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.001094/0.001094, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.432/2.432, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 58.38 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2962, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002344/0.2986, allocations: 0.8176 MB / 1.088 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001629/0.2988, allocations: 43.78 kB / 1.088 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.069e-05/0.2989, allocations: 0 / 1.088 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.414e-05/0.2989, allocations: 11.88 kB / 1.088 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.194e-05/0.2991, allocations: 7.922 kB / 1.088 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.275e-05/0.2991, allocations: 19.98 kB / 1.088 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.2992, allocations: 59.78 kB / 1.088 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.2994, allocations: 43.95 kB / 1.088 GB, free: 0.9766 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.878e-05/0.2995, allocations: 27.86 kB / 1.088 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.2995, allocations: 27.86 kB / 1.089 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.2996, allocations: 11.94 kB / 1.089 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.2996, allocations: 8 kB / 1.089 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.824e-05/0.2996, allocations: 15.92 kB / 1.089 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.372e-05/0.2997, allocations: 43.69 kB / 1.089 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.2998, allocations: 70.5 kB / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2998, allocations: 0 / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2998, allocations: 0 / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.2998, allocations: 4 kB / 1.089 GB, free: 0.7734 MB / 0.8419 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.0004606/0.3003, allocations: 372.1 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3003, allocations: 12.03 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.3004, allocations: 46.73 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.3004, allocations: 16.75 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.3006, allocations: 188.2 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.3007, allocations: 8.359 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.3007, allocations: 8.375 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.3009, allocations: 93.36 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.301, allocations: 3.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.301, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.301, allocations: 4 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.004e-05/0.3011, allocations: 39.92 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006868/0.3018, allocations: 432.5 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.496e-05/0.3018, allocations: 45.27 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/0.3019, allocations: 21.84 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-06/0.3019, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.302, allocations: 38.55 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.302, allocations: 0 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.00018/0.3021, allocations: 57.48 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.3022, allocations: 89.28 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.3024, allocations: 156.9 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.3024, allocations: 25.7 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.3025, allocations: 100 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.8e-05/0.3026, allocations: 7.844 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.3026, allocations: 21.7 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3027, allocations: 318.8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.022e-05/0.3028, allocations: 7.984 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-05/0.3028, allocations: 25.72 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4e-05/0.3028, allocations: 21.72 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3029, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.598e-05/0.303, allocations: 61.53 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.303, allocations: 11.94 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.303, allocations: 3.938 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.303, allocations: 4.062 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.397e-05/0.3031, allocations: 8 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3031, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.442e-05/0.3031, allocations: 7.844 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.3031, allocations: 4 kB / 1.091 GB, free: 14.29 MB / 0.8575 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 8.154e-05/0.3032, allocations: 117.8 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.3033, allocations: 11.84 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.3033, allocations: 11.86 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3033, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3033, allocations: 8 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3033, allocations: 0 / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004116/0.3037, allocations: 466.8 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3038, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.288e-05/0.3038, allocations: 8 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3038, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-06/0.3038, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3038, allocations: 3.984 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3038, allocations: 4.062 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.113e-05/0.3039, allocations: 77.84 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.304, allocations: 85 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.304, allocations: 4 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.361e-05/0.304, allocations: 7.938 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.304, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.3041, allocations: 4.031 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.6e-05/0.3041, allocations: 121.3 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.483e-06/0.3042, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001978/0.3044, allocations: 11.94 kB / 1.092 GB, free: 13.25 MB / 0.8575 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.0004626/0.3048, allocations: 0.6171 MB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.281e-05/0.3049, allocations: 19.94 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3049, allocations: 0 / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.113e-05/0.305, allocations: 4 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.3051, allocations: 11.89 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.3064, allocations: 1.336 MB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.3067, allocations: 0.6929 MB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.681e-05/0.3067, allocations: 8.422 kB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.3068, allocations: 23.44 kB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of SimCode: time 2.8e-07/0.3068, allocations: 3.938 kB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.3259, allocations: 1.585 MB / 1.096 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.28/7.605, allocations: 6.734 kB / 1.096 GB, free: 8.891 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches