Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",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.009967/0.009967, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.002267/0.002267, allocations: 198.8 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.473/2.473, allocations: 222.9 MB / 240.4 MB, free: 4.328 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 4.393/4.393, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003217/0.003217, allocations: 67.88 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5295/0.5327, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.003592/0.5364, allocations: 0.8166 MB / 1.167 GB, free: 6.473 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002146/0.5366, allocations: 43.78 kB / 1.167 GB, free: 6.43 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.285e-05/0.5367, allocations: 4 kB / 1.167 GB, free: 6.426 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.521e-05/0.5369, allocations: 11.86 kB / 1.167 GB, free: 6.414 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.5371, allocations: 7.875 kB / 1.167 GB, free: 6.406 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 9.342e-05/0.5372, allocations: 19.98 kB / 1.167 GB, free: 6.387 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.5374, allocations: 67.83 kB / 1.167 GB, free: 6.32 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.5376, allocations: 47.95 kB / 1.167 GB, free: 6.273 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.059e-05/0.5378, allocations: 23.81 kB / 1.167 GB, free: 6.25 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.5379, allocations: 31.78 kB / 1.167 GB, free: 6.219 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.5379, allocations: 4 kB / 1.167 GB, free: 6.215 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.74e-05/0.538, allocations: 8 kB / 1.167 GB, free: 6.207 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.538, allocations: 15.94 kB / 1.167 GB, free: 6.191 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.654e-05/0.5381, allocations: 35.8 kB / 1.167 GB, free: 6.156 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.5383, allocations: 83.8 kB / 1.167 GB, free: 6.074 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/0.5384, allocations: 0 / 1.167 GB, free: 6.074 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.835e-06/0.5384, allocations: 0 / 1.167 GB, free: 6.074 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.5384, allocations: 0 / 1.167 GB, free: 6.074 MB / 0.92 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.0007807/0.5392, allocations: 383.1 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/0.5393, allocations: 8.031 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.546e-05/0.5393, allocations: 38.75 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.5394, allocations: 16.83 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.5398, allocations: 192.3 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.5398, allocations: 4.375 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.5399, allocations: 16.25 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.5402, allocations: 87.95 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.5402, allocations: 7.938 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.5402, allocations: 3.938 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.5403, allocations: 4 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.5404, allocations: 43.91 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009476/0.5414, allocations: 436.7 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.5415, allocations: 41.25 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.823e-05/0.5416, allocations: 17.78 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.5416, allocations: 4 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/0.5417, allocations: 34.56 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 2.054e-06/0.5417, allocations: 0 / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003002/0.542, allocations: 57.52 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/0.5421, allocations: 77.11 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.5424, allocations: 160.1 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.5424, allocations: 25.95 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.5426, allocations: 104.1 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.5426, allocations: 15.89 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/0.5427, allocations: 13.72 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002151/0.5429, allocations: 318.8 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.765e-05/0.543, allocations: 8 kB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.952e-05/0.543, allocations: 17.66 kB / 1.169 GB, free: 3.723 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.69e-05/0.5431, allocations: 33.7 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5431, allocations: 0 / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001714/0.5433, allocations: 61.55 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.5434, allocations: 7.938 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.5434, allocations: 0 / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/0.5434, allocations: 4.094 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.5436, allocations: 7.984 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.5436, allocations: 0 / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.021e-05/0.5437, allocations: 12.05 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.5437, allocations: 4 kB / 1.17 GB, free: 3.582 MB / 0.92 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 0.0001698/0.5439, allocations: 112 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.721e-05/0.544, allocations: 15.89 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.544, allocations: 7.875 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.5441, allocations: 3.984 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5441, allocations: 0 / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.5441, allocations: 0 / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000794/0.5449, allocations: 482.7 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5449, allocations: 0 / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/0.545, allocations: 7.938 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.545, allocations: 0 / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.545, allocations: 4 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.545, allocations: 3.938 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.545, allocations: 0 / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.5452, allocations: 81.94 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.5453, allocations: 89.06 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.5454, allocations: 0 / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.009e-05/0.5454, allocations: 4 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.5454, allocations: 7.984 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.5455, allocations: 0 / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001739/0.5456, allocations: 121.3 kB / 1.17 GB, free: 2.547 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.01e-07/0.5457, allocations: 4.031 kB / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003704/0.546, allocations: 11.94 kB / 1.17 GB, free: 2.531 MB / 0.92 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.0006715/0.5467, allocations: 0.6132 MB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.5469, allocations: 27.97 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5469, allocations: 0 / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.421e-05/0.547, allocations: 8 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.5472, allocations: 4 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.5495, allocations: 1.331 MB / 1.172 GB, free: 428 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.5501, allocations: 0.7002 MB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.618e-05/0.5502, allocations: 4.438 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.588e-05/0.5503, allocations: 27.42 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of SimCode: time 9.32e-07/0.5503, allocations: 0 / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03864/0.5889, allocations: 1.578 MB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.93, allocations: 4.062 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_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_BtuPerHour.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches