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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008544/0.0008543, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005382/0.005382, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.265/1.265, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.359/2.359, allocations: 437.8 MB / 0.7121 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003077, allocations: 12 kB / 0.8729 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5431/0.5434, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.00081/0.5442, allocations: 0.5432 MB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 9.553e-05/0.5443, allocations: 39.8 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.5444, allocations: 4 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.841e-05/0.5444, allocations: 7.922 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.589e-05/0.5445, allocations: 3.984 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.469e-05/0.5445, allocations: 19.92 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.229e-05/0.5446, allocations: 55.86 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.5447, allocations: 39.97 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.801e-05/0.5448, allocations: 19.86 kB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.208e-05/0.5448, allocations: 15.86 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.5448, allocations: 4 kB / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.649e-06/0.5448, allocations: 0 / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.5449, allocations: 15.88 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.5449, allocations: 49.45 kB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.984e-05/0.545, allocations: 69.98 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.545, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.62e-07/0.545, allocations: 4 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.545, allocations: 0 / 1.024 GB, free: 14.94 MB / 0.7794 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.0002864/0.5453, allocations: 368.7 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.5453, allocations: 8.031 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.5453, allocations: 46.73 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.131e-05/0.5454, allocations: 12.84 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.5455, allocations: 192.2 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-06/0.5456, allocations: 4.312 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.5456, allocations: 16.38 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.5457, allocations: 97.41 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.859e-06/0.5457, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.5457, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5457, allocations: 7.938 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.642e-05/0.5458, allocations: 39.92 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.5462, allocations: 436.6 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.413e-05/0.5463, allocations: 41.19 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/0.5463, allocations: 17.84 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-06/0.5464, allocations: 4 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.5464, allocations: 42.48 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5464, allocations: 0 / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001303/0.5465, allocations: 49.55 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.5466, allocations: 81.11 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.5467, allocations: 165.1 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.946e-06/0.5467, allocations: 25.95 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.5468, allocations: 108 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.943e-06/0.5468, allocations: 3.906 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/0.5468, allocations: 9.719 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.685e-05/0.5469, allocations: 322.8 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.5469, allocations: 8 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.961e-05/0.5469, allocations: 21.66 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.672e-05/0.547, allocations: 29.7 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.547, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.777e-05/0.5471, allocations: 57.55 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.5471, allocations: 7.938 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.5471, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.273e-06/0.5471, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.082e-05/0.5472, allocations: 15.98 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.5472, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.816e-05/0.5472, allocations: 3.906 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.5472, allocations: 12.14 kB / 1.026 GB, free: 12.46 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 5.895e-05/0.5473, allocations: 114.4 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.5473, allocations: 15.83 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.734e-05/0.5474, allocations: 7.859 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.5474, allocations: 4 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.5474, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-06/0.5474, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.5477, allocations: 474.8 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5477, allocations: 7.875 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.06e-05/0.5477, allocations: 7.938 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5477, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-06/0.5478, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5478, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5478, allocations: 4 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.304e-05/0.5479, allocations: 85.89 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.5479, allocations: 88.95 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.5479, allocations: 0 / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.166e-05/0.5479, allocations: 3.984 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-06/0.548, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.548, allocations: 8 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.224e-05/0.548, allocations: 119.2 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5481, allocations: 0 / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001778/0.5482, allocations: 12.03 kB / 1.027 GB, free: 11.42 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.0002949/0.5485, allocations: 0.6169 MB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.834e-05/0.5486, allocations: 24.03 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.5486, allocations: 0 / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.079e-05/0.5486, allocations: 8 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.5488, allocations: 6.109 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009493/0.5497, allocations: 1.334 MB / 1.029 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.5499, allocations: 0.6965 MB / 1.03 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.752e-05/0.55, allocations: 4.438 kB / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.55, allocations: 35.3 kB / 1.03 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.55, allocations: 4 kB / 1.03 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009206/0.5592, allocations: 1.347 MB / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.5594, allocations: 209.2 kB / 1.031 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/2.082, allocations: 3.938 kB / 1.031 GB, free: 7.051 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