Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_Btu,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_9_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.001167/0.001167, allocations: 108 kB / 15.61 MB, free: 148 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.001161/0.001161, allocations: 197.6 kB / 16.53 MB, free: 6.699 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.351/2.351, allocations: 390.3 MB / 0.6647 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 71.88 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6286/0.6301, allocations: 140.4 MB / 0.9497 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002075/0.6322, allocations: 0.8223 MB / 0.9505 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001071/0.6323, allocations: 48.59 kB / 0.9506 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.6324, allocations: 1 kB / 0.9506 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.905e-05/0.6324, allocations: 7.875 kB / 0.9506 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.007e-05/0.6325, allocations: 8.875 kB / 0.9506 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.68e-05/0.6326, allocations: 27.12 kB / 0.9506 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.6327, allocations: 56.39 kB / 0.9507 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.6329, allocations: 44.48 kB / 0.9507 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.917e-05/0.6329, allocations: 19.14 kB / 0.9507 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.75e-05/0.633, allocations: 40.59 kB / 0.9508 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.633, allocations: 6.531 kB / 0.9508 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.633, allocations: 5.938 kB / 0.9508 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.633, allocations: 14.28 kB / 0.9508 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.763e-05/0.6331, allocations: 34.92 kB / 0.9508 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.956e-05/0.6332, allocations: 73.98 kB / 0.9509 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6332, allocations: 1.188 kB / 0.9509 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6332, allocations: 0 / 0.9509 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.6332, allocations: 0 / 0.9509 GB, free: 8.125 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.0003768/0.6336, allocations: 387.2 kB / 0.9513 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.6336, allocations: 9.969 kB / 0.9513 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.095e-05/0.6337, allocations: 35.94 kB / 0.9513 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.6337, allocations: 10.47 kB / 0.9513 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.6339, allocations: 197.4 kB / 0.9515 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.6339, allocations: 8.312 kB / 0.9515 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.6339, allocations: 4.719 kB / 0.9515 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.6341, allocations: 90.33 kB / 0.9516 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.6341, allocations: 7.938 kB / 0.9516 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.6341, allocations: 5.531 kB / 0.9516 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.6341, allocations: 1.188 kB / 0.9516 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.63e-05/0.6342, allocations: 36.48 kB / 0.9516 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.6346, allocations: 431.8 kB / 0.9521 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.652e-05/0.6347, allocations: 45.53 kB / 0.9521 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.525e-05/0.6347, allocations: 20.16 kB / 0.9521 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.6347, allocations: 0 / 0.9521 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.6348, allocations: 31.94 kB / 0.9522 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.6348, allocations: 4 kB / 0.9522 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001654/0.6349, allocations: 59.03 kB / 0.9522 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.635, allocations: 78.42 kB / 0.9523 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.6351, allocations: 163.8 kB / 0.9524 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.061e-06/0.6351, allocations: 31.02 kB / 0.9525 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.6352, allocations: 115.9 kB / 0.9526 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-06/0.6352, allocations: 9.281 kB / 0.9526 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.6352, allocations: 12.72 kB / 0.9526 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.206e-05/0.6353, allocations: 329.6 kB / 0.9529 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.6353, allocations: 6.75 kB / 0.9529 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.728e-05/0.6353, allocations: 19.16 kB / 0.9529 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/0.6353, allocations: 25.97 kB / 0.953 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6354, allocations: 1.375 kB / 0.953 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.413e-05/0.6354, allocations: 62.88 kB / 0.953 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.6355, allocations: 8.438 kB / 0.953 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.6355, allocations: 0.9688 kB / 0.953 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.6355, allocations: 1.094 kB / 0.953 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.25e-05/0.6355, allocations: 5.781 kB / 0.953 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.6356, allocations: 0 / 0.953 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.011e-05/0.6356, allocations: 6.062 kB / 0.9531 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.6356, allocations: 2.188 kB / 0.9531 GB, free: 5.906 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 5.473e-05/0.6357, allocations: 113.2 kB / 0.9532 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.6357, allocations: 20.34 kB / 0.9532 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.956e-05/0.6357, allocations: 6.281 kB / 0.9532 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.6357, allocations: 4.859 kB / 0.9532 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6357, allocations: 0.9375 kB / 0.9532 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.6358, allocations: 1 kB / 0.9532 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.636, allocations: 474 kB / 0.9536 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.636, allocations: 0 / 0.9536 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.6361, allocations: 11.64 kB / 0.9537 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.6361, allocations: 5.188 kB / 0.9537 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.6361, allocations: 4 kB / 0.9537 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6361, allocations: 1.281 kB / 0.9537 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6361, allocations: 1.25 kB / 0.9537 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.335e-05/0.6361, allocations: 73.31 kB / 0.9537 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.6362, allocations: 100.6 kB / 0.9538 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.6362, allocations: 1.5 kB / 0.9538 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.942e-05/0.6362, allocations: 0 / 0.9538 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/0.6363, allocations: 1.719 kB / 0.9538 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.6363, allocations: 5.312 kB / 0.9538 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.381e-05/0.6363, allocations: 120.8 kB / 0.954 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6363, allocations: 0 / 0.954 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001868/0.6365, allocations: 6.594 kB / 0.954 GB, free: 4.953 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.0002346/0.6368, allocations: 0.6193 MB / 0.9546 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.524e-05/0.6369, allocations: 23.58 kB / 0.9546 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6369, allocations: 3.938 kB / 0.9546 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.189e-05/0.6369, allocations: 7.844 kB / 0.9546 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.637, allocations: 10.12 kB / 0.9546 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008449/0.6379, allocations: 1.322 MB / 0.9559 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.638, allocations: 0.6994 MB / 0.9566 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.926e-05/0.638, allocations: 3.812 kB / 0.9566 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.6381, allocations: 28.05 kB / 0.9566 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.6381, allocations: 0 / 0.9566 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.6561, allocations: 1.542 MB / 0.9581 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.189/7.845, allocations: 9.844 kB / 0.9581 GB, free: 1.484 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches