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.001187/0.001187, allocations: 111.3 kB / 15.34 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.00119/0.001191, allocations: 195.1 kB / 16.25 MB, free: 6.152 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.24/1.24, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.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.367/2.367, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 71.88 kB / 0.8689 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5267/0.528, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.00195/0.53, allocations: 0.8898 MB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.876e-05/0.5301, allocations: 43.78 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.106e-05/0.5301, allocations: 0 / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.602e-05/0.5302, allocations: 7.922 kB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.834e-05/0.5303, allocations: 0 / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.168e-05/0.5303, allocations: 19.98 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.41e-05/0.5304, allocations: 59.8 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.5305, allocations: 43.95 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.796e-05/0.5306, allocations: 23.88 kB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.677e-05/0.5306, allocations: 35.83 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.5306, allocations: 4 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.5307, allocations: 12 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.5307, allocations: 11.94 kB / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.5307, allocations: 47.61 kB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.026e-05/0.5308, allocations: 66.02 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.5308, allocations: 4 kB / 1.018 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5308, allocations: 0 / 1.018 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.5309, allocations: 0 / 1.018 GB, free: 1.43 MB / 0.7637 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.0003369/0.5312, allocations: 383.1 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.5312, allocations: 8.031 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.5313, allocations: 42.75 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.5313, allocations: 8.844 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.5315, allocations: 192.2 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.5315, allocations: 8.375 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.5315, allocations: 4.375 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.5316, allocations: 95.8 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.5316, allocations: 3.938 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.5317, allocations: 4 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.5317, allocations: 7.938 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.987e-05/0.5317, allocations: 39.92 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.5322, allocations: 428.7 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.076e-05/0.5322, allocations: 45.19 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.747e-05/0.5323, allocations: 21.84 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.608e-06/0.5323, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/0.5323, allocations: 30.56 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.5323, allocations: 0 / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000139/0.5324, allocations: 57.69 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.5325, allocations: 85.14 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.5326, allocations: 168 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.5326, allocations: 25.7 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.5327, allocations: 104 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.266e-06/0.5327, allocations: 7.891 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.5327, allocations: 17.72 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.5328, allocations: 322.8 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.5328, allocations: 4 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.389e-05/0.5329, allocations: 29.7 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.206e-05/0.5329, allocations: 25.66 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.5329, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.453e-05/0.533, allocations: 61.53 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.533, allocations: 13.19 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-06/0.533, allocations: 4.062 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/0.533, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.952e-05/0.5331, allocations: 4 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.5331, allocations: 7.938 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.764e-05/0.5331, allocations: 7.891 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-06/0.5331, allocations: 4 kB / 1.02 GB, free: 14.93 MB / 0.7794 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 6.196e-05/0.5332, allocations: 110.4 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.5333, allocations: 11.84 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.968e-05/0.5333, allocations: 11.88 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.5333, allocations: 4 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.5333, allocations: 4 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.5333, allocations: 0 / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.5336, allocations: 474.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5336, allocations: 3.938 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.863e-05/0.5337, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.5337, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.5337, allocations: 64 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.5337, allocations: 4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5337, allocations: 3.938 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.659e-05/0.5338, allocations: 77.83 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.5338, allocations: 88.95 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.5338, allocations: 8 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.987e-05/0.5339, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.5339, allocations: 4.031 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.5339, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.421e-05/0.534, allocations: 119.9 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.81e-07/0.534, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001786/0.5342, allocations: 8 kB / 1.021 GB, free: 13.9 MB / 0.7794 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.0002914/0.5345, allocations: 0.6209 MB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.747e-05/0.5345, allocations: 19.92 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5345, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.496e-06/0.5346, allocations: 4 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.5347, allocations: 8 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009506/0.5357, allocations: 1.347 MB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.5359, allocations: 0.7002 MB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.482e-05/0.5359, allocations: 4.438 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.5359, allocations: 27.42 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5359, allocations: 0 / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01013/0.5461, allocations: 1.472 MB / 1.025 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/0.5463, allocations: 201 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/2.057, allocations: 0 / 1.026 GB, free: 9.41 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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