Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.From_Btu,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_10_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.001069/0.001069, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 198.1 kB / 16.53 MB, free: 6.672 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.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.567/2.567, allocations: 437.1 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.91 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5329/0.5342, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001953/0.5362, allocations: 0.8211 MB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001098/0.5363, allocations: 39.78 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.5364, allocations: 0 / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.75e-05/0.5364, allocations: 15.86 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.28e-05/0.5365, allocations: 3.938 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.473e-05/0.5365, allocations: 19.98 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.789e-05/0.5366, allocations: 67.78 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.5368, allocations: 39.95 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.599e-05/0.5368, allocations: 31.8 kB / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.796e-05/0.5369, allocations: 23.86 kB / 1.018 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.5369, allocations: 8 kB / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.5369, allocations: 8 kB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.5369, allocations: 19.91 kB / 1.018 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.537, allocations: 35.75 kB / 1.019 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.482e-05/0.5371, allocations: 69.95 kB / 1.019 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5371, allocations: 0 / 1.019 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5371, allocations: 4 kB / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.5371, allocations: 0 / 1.019 GB, free: 1.277 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.0003951/0.5375, allocations: 379.2 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.5375, allocations: 16.03 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.158e-05/0.5376, allocations: 38.73 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.5376, allocations: 12.84 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.5378, allocations: 188.2 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.5378, allocations: 4.375 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.5378, allocations: 12.36 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.538, allocations: 99.8 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.538, allocations: 3.938 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.538, allocations: 4 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.538, allocations: 0 / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.629e-05/0.5381, allocations: 39.92 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.5386, allocations: 432.7 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.325e-05/0.5387, allocations: 41.19 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/0.5387, allocations: 25.77 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.084e-06/0.5387, allocations: 4 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.5387, allocations: 30.56 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5388, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001499/0.5389, allocations: 61.58 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.539, allocations: 77.11 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.5391, allocations: 167.6 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.5391, allocations: 25.7 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.5392, allocations: 104 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.314e-06/0.5392, allocations: 3.906 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.5392, allocations: 21.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.142e-05/0.5393, allocations: 323 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.5393, allocations: 8 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.299e-05/0.5394, allocations: 21.7 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.806e-05/0.5394, allocations: 29.66 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.5394, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.852e-05/0.5395, allocations: 65.47 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.5395, allocations: 8 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.5395, allocations: 4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.5395, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.422e-05/0.5396, allocations: 8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.5396, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.888e-05/0.5396, allocations: 3.906 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.5397, allocations: 4 kB / 1.021 GB, free: 14.78 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.584e-05/0.5397, allocations: 113.8 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.5398, allocations: 11.84 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.5398, allocations: 15.86 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.5398, allocations: 4 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5398, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.5398, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.5402, allocations: 474.8 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5402, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.95e-05/0.5402, allocations: 4 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.5402, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.5402, allocations: 4.062 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5402, allocations: 3.938 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.5402, allocations: 11.92 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.053e-05/0.5403, allocations: 73.84 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.5404, allocations: 96.94 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.5404, allocations: 96 / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.075e-05/0.5404, allocations: 4.031 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.018e-05/0.5404, allocations: 3.984 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.5404, allocations: 4 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.693e-05/0.5405, allocations: 121.1 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5405, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001818/0.5407, allocations: 4 kB / 1.022 GB, free: 13.74 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.0003018/0.541, allocations: 0.6209 MB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.38e-05/0.5411, allocations: 19.94 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5411, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.139e-05/0.5411, allocations: 4 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.5413, allocations: 13.36 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.5423, allocations: 1.326 MB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.5425, allocations: 0.6924 MB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.97e-05/0.5425, allocations: 12.36 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.5426, allocations: 23.44 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5426, allocations: 0 / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01563/0.5582, allocations: 1.532 MB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.658/7.216, allocations: 12.53 kB / 1.026 GB, free: 9.406 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches