Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_11_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.004186/0.004186, allocations: 101.7 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.001239/0.001239, allocations: 193 kB / 16.68 MB, free: 5.977 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.767/2.767, allocations: 469.8 MB / 0.7425 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 68.11 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6399/0.6418, allocations: 159.1 MB / 1.22 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001979/0.6438, allocations: 0.8351 MB / 1.221 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001064/0.644, allocations: 39.8 kB / 1.221 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.644, allocations: 0 / 1.221 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.628e-05/0.6441, allocations: 11.86 kB / 1.221 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.164e-05/0.6441, allocations: 7.875 kB / 1.221 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.962e-05/0.6442, allocations: 19.98 kB / 1.221 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.6443, allocations: 67.83 kB / 1.221 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.6445, allocations: 47.86 kB / 1.221 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.418e-05/0.6445, allocations: 15.94 kB / 1.221 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.266e-05/0.6446, allocations: 39.78 kB / 1.221 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.6446, allocations: 4 kB / 1.221 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-06/0.6446, allocations: 8 kB / 1.221 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.68e-05/0.6447, allocations: 23.84 kB / 1.221 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.62e-05/0.6447, allocations: 27.81 kB / 1.221 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.6448, allocations: 71.38 kB / 1.221 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.6448, allocations: 0 / 1.221 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.203e-06/0.6448, allocations: 0 / 1.221 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.6448, allocations: 0 / 1.221 GB, free: 0.8398 MB / 0.9356 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.0004546/0.6453, allocations: 379.1 kB / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.6453, allocations: 12.03 kB / 1.222 GB, free: 416 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.991e-05/0.6454, allocations: 42.73 kB / 1.222 GB, free: 364 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.6454, allocations: 16.78 kB / 1.222 GB, free: 348 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.6457, allocations: 200.1 kB / 1.222 GB, free: 108 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-06/0.6457, allocations: 4.375 kB / 1.222 GB, free: 104 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.6457, allocations: 8.375 kB / 1.222 GB, free: 96 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.6459, allocations: 97.52 kB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.6459, allocations: 7.938 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.6459, allocations: 8 kB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.6459, allocations: 7.984 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.773e-05/0.646, allocations: 35.92 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.6466, allocations: 432.7 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.917e-05/0.6467, allocations: 49.2 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/0.6467, allocations: 17.78 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.261e-06/0.6467, allocations: 0 / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.6467, allocations: 42.58 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.6467, allocations: 0 / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001638/0.6469, allocations: 53.75 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.647, allocations: 81.14 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.6472, allocations: 161.1 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.6472, allocations: 25.7 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/0.6473, allocations: 100.1 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.085e-05/0.6473, allocations: 11.95 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.6473, allocations: 17.67 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6475, allocations: 318.8 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.218e-05/0.6475, allocations: 12 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.985e-05/0.6475, allocations: 13.72 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.591e-05/0.6476, allocations: 33.64 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.6476, allocations: 0 / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.525e-05/0.6477, allocations: 53.66 kB / 1.223 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.6477, allocations: 7.938 kB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.6477, allocations: 4.062 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.6477, allocations: 4 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.825e-05/0.6478, allocations: 7.984 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.6478, allocations: 7.875 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.576e-05/0.6478, allocations: 11.94 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.6478, allocations: 0 / 1.224 GB, free: 14.33 MB / 0.9512 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.422e-05/0.6479, allocations: 109.8 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.648, allocations: 15.89 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.648, allocations: 11.86 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.648, allocations: 4 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.648, allocations: 0 / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.648, allocations: 0 / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/0.6485, allocations: 478.7 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6485, allocations: 0 / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.6485, allocations: 4 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.6485, allocations: 0 / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.6485, allocations: 4 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.6485, allocations: 4.062 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6485, allocations: 0 / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.539e-05/0.6487, allocations: 85.75 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.6487, allocations: 89.06 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.6487, allocations: 0 / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.488e-05/0.6488, allocations: 7.984 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.483e-05/0.6488, allocations: 8.031 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.6488, allocations: 0 / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001057/0.6489, allocations: 121.9 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6489, allocations: 0 / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001945/0.6491, allocations: 8 kB / 1.224 GB, free: 13.28 MB / 0.9512 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.0004007/0.6495, allocations: 0.6176 MB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.847e-05/0.6496, allocations: 16 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.6496, allocations: 0 / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.806e-05/0.6496, allocations: 11.94 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.6498, allocations: 4 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.6511, allocations: 1.331 MB / 1.226 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.6514, allocations: 0.6928 MB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.781e-05/0.6514, allocations: 4.438 kB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.6515, allocations: 27.42 kB / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of SimCode: time 3.427e-06/0.6515, allocations: 4 kB / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.6728, allocations: 1.575 MB / 1.229 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/8.456, allocations: 14.98 kB / 1.229 GB, free: 8.926 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches