Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_BtuPerHour,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_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.00723/0.00723, allocations: 98.97 kB / 15.73 MB, free: 6.016 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.001668/0.001668, allocations: 201.3 kB / 16.68 MB, free: 5.93 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.395/2.395, allocations: 437.1 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 68.11 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6634/0.6647, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001833/0.6666, allocations: 0.8311 MB / 1.167 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001017/0.6667, allocations: 39.8 kB / 1.167 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.6668, allocations: 0 / 1.167 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.456e-05/0.6668, allocations: 11.86 kB / 1.167 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.3e-05/0.6669, allocations: 19.86 kB / 1.167 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.377e-05/0.667, allocations: 15.98 kB / 1.167 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.341e-05/0.6671, allocations: 59.84 kB / 1.167 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.6672, allocations: 43.97 kB / 1.167 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.856e-05/0.6673, allocations: 23.88 kB / 1.167 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.541e-05/0.6673, allocations: 31.84 kB / 1.167 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.6673, allocations: 8 kB / 1.167 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.419e-05/0.6674, allocations: 8 kB / 1.167 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.6674, allocations: 11.88 kB / 1.167 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.6674, allocations: 35.8 kB / 1.167 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.6675, allocations: 71.36 kB / 1.167 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.6675, allocations: 0 / 1.167 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6675, allocations: 3.938 kB / 1.167 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.6676, allocations: 0 / 1.167 GB, free: 2.543 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.0003829/0.6679, allocations: 385.2 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.668, allocations: 16.62 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.664e-05/0.668, allocations: 38.69 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.6681, allocations: 12.84 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.6683, allocations: 200.1 kB / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.6683, allocations: 8.375 kB / 1.168 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.6683, allocations: 4.375 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.6684, allocations: 100.8 kB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.6684, allocations: 7.938 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.6685, allocations: 8 kB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.6685, allocations: 0 / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.942e-05/0.6685, allocations: 31.98 kB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.669, allocations: 444.7 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.241e-05/0.6691, allocations: 41.16 kB / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.338e-05/0.6691, allocations: 21.84 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/0.6691, allocations: 0 / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.6692, allocations: 34.59 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.6692, allocations: 0 / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001515/0.6693, allocations: 61.52 kB / 1.169 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.6694, allocations: 81.36 kB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.6695, allocations: 160.9 kB / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.6695, allocations: 25.7 kB / 1.169 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.6696, allocations: 100.1 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.636e-06/0.6696, allocations: 7.953 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.6696, allocations: 13.72 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.182e-05/0.6697, allocations: 322.8 kB / 1.169 GB, free: 220 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/0.6698, allocations: 4 kB / 1.169 GB, free: 216 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.037e-05/0.6698, allocations: 21.72 kB / 1.169 GB, free: 188 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.352e-05/0.6698, allocations: 33.64 kB / 1.169 GB, free: 148 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6698, allocations: 0 / 1.169 GB, free: 148 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.64e-05/0.6699, allocations: 53.61 kB / 1.169 GB, free: 88 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.6699, allocations: 11.94 kB / 1.169 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.6699, allocations: 0 / 1.169 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.67, allocations: 4.062 kB / 1.169 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.556e-05/0.67, allocations: 11.92 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.67, allocations: 7.938 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/0.6701, allocations: 7.938 kB / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.6701, allocations: 4 kB / 1.17 GB, free: 40 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 7.686e-05/0.6702, allocations: 109.8 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.6702, allocations: 15.89 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/0.6702, allocations: 7.875 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.6703, allocations: 4 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.6703, allocations: 4 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6703, allocations: 3.984 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.6706, allocations: 474.7 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.6707, allocations: 4 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/0.6707, allocations: 4 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.6707, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.6707, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6707, allocations: 4.062 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6707, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.578e-05/0.6708, allocations: 85.81 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.6708, allocations: 85.06 kB / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.6709, allocations: 4 kB / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.094e-05/0.6709, allocations: 0 / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.007e-05/0.6709, allocations: 8.016 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.6709, allocations: 0 / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.884e-05/0.671, allocations: 121.9 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.671, allocations: 0 / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001949/0.6712, allocations: 8 kB / 1.17 GB, free: 15 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.0003167/0.6715, allocations: 0.6171 MB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.835e-05/0.6716, allocations: 19.98 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6716, allocations: 0 / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.727e-05/0.6716, allocations: 11.94 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.6718, allocations: 4 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.6729, allocations: 1.335 MB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.6732, allocations: 0.6963 MB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.287e-05/0.6732, allocations: 12.5 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.6733, allocations: 27.42 kB / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.6733, allocations: 3.938 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.6889, allocations: 1.58 MB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.393/8.082, allocations: 7.234 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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_To_BtuPerHour.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches