Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_9_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.007984/0.007984, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001931/0.001931, allocations: 197 kB / 16.67 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 1.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.204/2.204, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 59.89 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6751/0.6772, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001814/0.6791, allocations: 0.8242 MB / 1.088 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001074/0.6792, allocations: 44.64 kB / 1.088 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.05e-05/0.6793, allocations: 5.125 kB / 1.088 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.41e-05/0.6793, allocations: 9.328 kB / 1.088 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.095e-05/0.6794, allocations: 10.19 kB / 1.088 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.849e-05/0.6795, allocations: 21.14 kB / 1.088 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.493e-05/0.6796, allocations: 63.23 kB / 1.088 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.6797, allocations: 37.34 kB / 1.088 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.941e-05/0.6798, allocations: 35.61 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.019e-05/0.6798, allocations: 30.5 kB / 1.089 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.6798, allocations: 5.656 kB / 1.089 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.6798, allocations: 6.531 kB / 1.089 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.6799, allocations: 16.39 kB / 1.089 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.6799, allocations: 32.44 kB / 1.089 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.68, allocations: 74.64 kB / 1.089 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.68, allocations: 3.938 kB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.974e-06/0.68, allocations: 0.8438 kB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.68, allocations: 1.188 kB / 1.089 GB, free: 4.496 MB / 0.8575 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.0003073/0.6804, allocations: 387.1 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.6804, allocations: 10.66 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.998e-05/0.6804, allocations: 39.06 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.6805, allocations: 9.016 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.6806, allocations: 192.3 kB / 1.089 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.6806, allocations: 4.281 kB / 1.089 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.6806, allocations: 9.594 kB / 1.089 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.6808, allocations: 98.44 kB / 1.089 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.6808, allocations: 3.938 kB / 1.089 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.6808, allocations: 1.562 kB / 1.089 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.6808, allocations: 2.156 kB / 1.089 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.31e-05/0.6809, allocations: 44.69 kB / 1.089 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.6813, allocations: 433.1 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.023e-05/0.6814, allocations: 50.41 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/0.6814, allocations: 16.08 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/0.6814, allocations: 1.484 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.6814, allocations: 36.25 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.6814, allocations: 0 / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001468/0.6816, allocations: 60.39 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.6816, allocations: 78.23 kB / 1.09 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.6818, allocations: 158.8 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.54e-06/0.6818, allocations: 26.77 kB / 1.09 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.6818, allocations: 103.8 kB / 1.09 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.354e-06/0.6818, allocations: 5.781 kB / 1.09 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.6819, allocations: 18.64 kB / 1.09 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.188e-05/0.6819, allocations: 323.9 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.6819, allocations: 3.891 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.972e-05/0.682, allocations: 20.02 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.616e-05/0.682, allocations: 26.95 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.682, allocations: 0 / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.721e-05/0.6821, allocations: 65.83 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.6821, allocations: 9.438 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6821, allocations: 1.344 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.6821, allocations: 0.8438 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.713e-05/0.6822, allocations: 10.34 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.6822, allocations: 1.344 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.163e-05/0.6822, allocations: 10.67 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.6823, allocations: 5.094 kB / 1.091 GB, free: 2.367 MB / 0.8575 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 4.797e-05/0.6823, allocations: 113.9 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.6824, allocations: 16.53 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.518e-05/0.6824, allocations: 12.69 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.6824, allocations: 1.062 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.6824, allocations: 0.5156 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.6824, allocations: 1.094 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.6827, allocations: 466.3 kB / 1.091 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.6827, allocations: 1.281 kB / 1.091 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.001e-05/0.6827, allocations: 11.41 kB / 1.091 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.6827, allocations: 5.109 kB / 1.091 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.6828, allocations: 5.859 kB / 1.091 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.6828, allocations: 0 / 1.091 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6828, allocations: 5 kB / 1.091 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.388e-05/0.6828, allocations: 77.56 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.182e-05/0.6829, allocations: 85.17 kB / 1.092 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.6829, allocations: 6.5 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.27e-05/0.6829, allocations: 0.7969 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.115e-05/0.6829, allocations: 6.094 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.6829, allocations: 1.766 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.295e-05/0.683, allocations: 119.8 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.683, allocations: 0 / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001971/0.6832, allocations: 12.53 kB / 1.092 GB, free: 1.449 MB / 0.8575 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.0003065/0.6835, allocations: 0.6189 MB / 1.092 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.149e-05/0.6836, allocations: 20.31 kB / 1.092 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6836, allocations: 1.062 kB / 1.092 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.186e-05/0.6837, allocations: 4.609 kB / 1.092 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.6838, allocations: 14.47 kB / 1.092 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.6849, allocations: 1.325 MB / 1.094 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.6851, allocations: 0.6959 MB / 1.094 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.6851, allocations: 11.36 kB / 1.094 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.6852, allocations: 21.88 kB / 1.094 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.6852, allocations: 0 / 1.094 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.7019, allocations: 1.582 MB / 1.096 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.164/7.866, allocations: 15.81 kB / 1.096 GB, free: 14.48 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches