Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.From_BtuPerHour,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_9_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.001691/0.001691, allocations: 108 kB / 15.6 MB, free: 132 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.002094/0.002094, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.5/1.5, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.469/2.469, allocations: 390.2 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.00147, allocations: 67.89 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6285/0.63, allocations: 140.4 MB / 0.9497 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001936/0.632, allocations: 0.8142 MB / 0.9505 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001001/0.6321, allocations: 43.94 kB / 0.9506 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.958e-05/0.6322, allocations: 2.812 kB / 0.9506 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.6322, allocations: 7.875 kB / 0.9506 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.437e-05/0.6323, allocations: 11.86 kB / 0.9506 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.391e-05/0.6324, allocations: 16.2 kB / 0.9506 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.181e-05/0.6325, allocations: 60 kB / 0.9507 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.6326, allocations: 52.41 kB / 0.9507 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.264e-05/0.6327, allocations: 23.16 kB / 0.9507 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.294e-05/0.6327, allocations: 33.44 kB / 0.9508 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.6327, allocations: 5.094 kB / 0.9508 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.195e-05/0.6328, allocations: 5.844 kB / 0.9508 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.6328, allocations: 14.72 kB / 0.9508 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.6328, allocations: 35.02 kB / 0.9508 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.13e-05/0.6329, allocations: 74.52 kB / 0.9509 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6329, allocations: 0 / 0.9509 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6329, allocations: 3.938 kB / 0.9509 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.341e-06/0.6329, allocations: 1.156 kB / 0.9509 GB, free: 8.312 MB / 0.7169 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.0003397/0.6333, allocations: 381.5 kB / 0.9513 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.6333, allocations: 10 kB / 0.9513 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.118e-05/0.6334, allocations: 37.41 kB / 0.9513 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.6334, allocations: 12.95 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.6336, allocations: 199 kB / 0.9515 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.6336, allocations: 3.125 kB / 0.9515 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.6336, allocations: 9.875 kB / 0.9515 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.6337, allocations: 90.83 kB / 0.9516 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.6337, allocations: 5.312 kB / 0.9516 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.6337, allocations: 4 kB / 0.9516 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.6338, allocations: 2.75 kB / 0.9516 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.572e-05/0.6338, allocations: 39.94 kB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.6342, allocations: 436.7 kB / 0.9521 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.84e-05/0.6343, allocations: 32.72 kB / 0.9521 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.6343, allocations: 24.31 kB / 0.9521 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-06/0.6343, allocations: 0 / 0.9521 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.6343, allocations: 35.88 kB / 0.9522 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.6343, allocations: 0 / 0.9522 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001517/0.6345, allocations: 63.44 kB / 0.9522 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.6345, allocations: 78.23 kB / 0.9523 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.6346, allocations: 158.9 kB / 0.9524 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.27e-06/0.6347, allocations: 31.2 kB / 0.9525 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.6347, allocations: 119.7 kB / 0.9526 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.973e-06/0.6347, allocations: 5.031 kB / 0.9526 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.6347, allocations: 17.62 kB / 0.9526 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.343e-05/0.6348, allocations: 325.1 kB / 0.9529 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/0.6348, allocations: 3 kB / 0.9529 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.622e-05/0.6348, allocations: 18.5 kB / 0.9529 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.42e-05/0.6349, allocations: 34.58 kB / 0.953 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.6349, allocations: 0 / 0.953 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.135e-05/0.635, allocations: 55.08 kB / 0.953 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.635, allocations: 10.19 kB / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.635, allocations: 0 / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.635, allocations: 1.719 kB / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.765e-05/0.6351, allocations: 13.27 kB / 0.9531 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.6351, allocations: 4.062 kB / 0.9531 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/0.6351, allocations: 2.812 kB / 0.9531 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-06/0.6351, allocations: 5.234 kB / 0.9531 GB, free: 6.09 MB / 0.7169 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.583e-05/0.6352, allocations: 116.7 kB / 0.9532 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.6352, allocations: 12 kB / 0.9532 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.932e-05/0.6352, allocations: 10.56 kB / 0.9532 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.6352, allocations: 5.797 kB / 0.9532 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6352, allocations: 0 / 0.9532 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.6353, allocations: 1.656 kB / 0.9532 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.6355, allocations: 477.9 kB / 0.9537 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6355, allocations: 0 / 0.9537 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.821e-05/0.6355, allocations: 2.875 kB / 0.9537 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6356, allocations: 1.562 kB / 0.9537 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.6356, allocations: 1.125 kB / 0.9537 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6356, allocations: 0 / 0.9537 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6356, allocations: 1.094 kB / 0.9537 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.22e-05/0.6356, allocations: 89.8 kB / 0.9538 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.6357, allocations: 89.33 kB / 0.9538 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.6357, allocations: 0 / 0.9538 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.008e-05/0.6357, allocations: 1.062 kB / 0.9538 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/0.6357, allocations: 5.484 kB / 0.9538 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.6357, allocations: 1.438 kB / 0.9538 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.447e-05/0.6358, allocations: 132.8 kB / 0.954 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6358, allocations: 0 / 0.954 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001846/0.636, allocations: 6.281 kB / 0.954 GB, free: 5.133 MB / 0.7169 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.0002305/0.6362, allocations: 0.6165 MB / 0.9546 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.511e-05/0.6363, allocations: 19.06 kB / 0.9546 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6363, allocations: 0 / 0.9546 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.063e-05/0.6363, allocations: 7.844 kB / 0.9546 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.6365, allocations: 9.484 kB / 0.9546 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008391/0.6374, allocations: 1.321 MB / 0.9559 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.633e-05/0.6375, allocations: 0.6955 MB / 0.9566 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.975e-05/0.6375, allocations: 7.844 kB / 0.9566 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.6375, allocations: 27.58 kB / 0.9566 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.6375, allocations: 0 / 0.9566 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/0.6537, allocations: 1.55 MB / 0.9581 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.255/7.909, allocations: 9.375 kB / 0.9581 GB, free: 1.688 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches