Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.To_Btu,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_10_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.007574/0.007574, allocations: 98.12 kB / 15.73 MB, free: 6.004 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.001939/0.001939, allocations: 195.1 kB / 16.67 MB, free: 5.934 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.786/2.786, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.91 kB / 1.018 GB, free: 9.922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6775/0.6795, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002076/0.6816, allocations: 0.8378 MB / 1.167 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001096/0.6817, allocations: 35.86 kB / 1.167 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.6818, allocations: 3.938 kB / 1.167 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.624e-05/0.6818, allocations: 3.938 kB / 1.167 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.081e-05/0.6819, allocations: 19.78 kB / 1.167 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.533e-05/0.682, allocations: 19.98 kB / 1.167 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.6821, allocations: 59.84 kB / 1.167 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.6822, allocations: 47.92 kB / 1.167 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.77e-05/0.6823, allocations: 23.86 kB / 1.167 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.675e-05/0.6824, allocations: 23.86 kB / 1.167 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.6824, allocations: 12 kB / 1.167 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-06/0.6824, allocations: 4 kB / 1.167 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.6824, allocations: 19.92 kB / 1.167 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.6825, allocations: 35.73 kB / 1.167 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.6826, allocations: 79.3 kB / 1.167 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6826, allocations: 0 / 1.167 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6826, allocations: 0 / 1.167 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.6826, allocations: 0 / 1.167 GB, free: 2.582 MB / 0.8887 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.0004545/0.6831, allocations: 379.1 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.6831, allocations: 16.61 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.998e-05/0.6832, allocations: 42.75 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.6832, allocations: 12.84 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.6834, allocations: 200.1 kB / 1.168 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.6835, allocations: 4.375 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.6835, allocations: 8.375 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.6837, allocations: 90.39 kB / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.6837, allocations: 3.938 kB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.6837, allocations: 4 kB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.6837, allocations: 4 kB / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.039e-05/0.6838, allocations: 39.92 kB / 1.168 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/0.6844, allocations: 432.7 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.846e-05/0.6845, allocations: 53.23 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/0.6845, allocations: 17.78 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.6845, allocations: 4 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.6845, allocations: 30.56 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.6846, allocations: 0 / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001666/0.6847, allocations: 57.77 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.6848, allocations: 81.11 kB / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.6849, allocations: 160.7 kB / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.685, allocations: 25.7 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.549e-05/0.6851, allocations: 100.1 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.6851, allocations: 11.94 kB / 1.169 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.6851, allocations: 13.72 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.6853, allocations: 322.7 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.268e-05/0.6853, allocations: 15.92 kB / 1.169 GB, free: 252 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.366e-05/0.6853, allocations: 17.72 kB / 1.169 GB, free: 228 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.577e-05/0.6854, allocations: 29.72 kB / 1.169 GB, free: 192 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6854, allocations: 0 / 1.169 GB, free: 192 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001001/0.6855, allocations: 61.53 kB / 1.169 GB, free: 124 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.6855, allocations: 7.938 kB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.6855, allocations: 4.062 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.6856, allocations: 4 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.806e-05/0.6856, allocations: 4 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.6856, allocations: 0 / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.247e-05/0.6857, allocations: 8.031 kB / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.6857, allocations: 0 / 1.17 GB, free: 96 kB / 0.8887 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.812e-05/0.6858, allocations: 113.8 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/0.6858, allocations: 19.86 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.6859, allocations: 11.88 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.6859, allocations: 4 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6859, allocations: 0 / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.6859, allocations: 0 / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.6863, allocations: 474.7 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.6863, allocations: 4 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.6864, allocations: 3.938 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.6864, allocations: 4 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.6864, allocations: 3.984 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.6864, allocations: 8.062 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6864, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.845e-05/0.6865, allocations: 73.89 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.6866, allocations: 93.05 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.6866, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.099e-05/0.6866, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-06/0.6866, allocations: 8.031 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.6866, allocations: 0 / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001041/0.6867, allocations: 121.7 kB / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.094e-06/0.6867, allocations: 0 / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001941/0.6869, allocations: 11.94 kB / 1.17 GB, free: 15.04 MB / 0.9044 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.0004082/0.6874, allocations: 0.6132 MB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.369e-05/0.6875, allocations: 23.88 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6875, allocations: 0 / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.472e-05/0.6875, allocations: 7.984 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.6876, allocations: 14.44 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.6889, allocations: 1.343 MB / 1.172 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.6892, allocations: 0.6924 MB / 1.173 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.274e-05/0.6893, allocations: 8.422 kB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.6893, allocations: 23.44 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.6893, allocations: 0 / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/0.7107, allocations: 1.567 MB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.248/8.959, allocations: 14.47 kB / 1.175 GB, free: 10.67 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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_10_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches