Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008111/0.0008111, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008833/0.0008833, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9107/0.9107, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.802/1.802, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.441e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002/0.002025, allocations: 0.7868 MB / 1 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001439/0.002169, allocations: 43.78 kB / 1 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.844e-05/0.002227, allocations: 3.938 kB / 1 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.309e-05/0.00227, allocations: 11.86 kB / 1 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.395e-05/0.002354, allocations: 7.938 kB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.857e-05/0.002403, allocations: 15.98 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.00252, allocations: 71.77 kB / 1.001 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.002636, allocations: 27.97 kB / 1.001 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.664e-05/0.002703, allocations: 31.92 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.01e-05/0.002753, allocations: 23.89 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.002773, allocations: 4 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.011e-06/0.002779, allocations: 8 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.002796, allocations: 15.94 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.002823, allocations: 19.91 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.469e-05/0.002917, allocations: 79.62 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.002919, allocations: 7.938 kB / 1.001 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.41e-07/0.00292, allocations: 0 / 1.001 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.002924, allocations: 0 / 1.001 GB, free: 12.32 MB / 0.9636 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.0003182/0.003242, allocations: 302 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.003281, allocations: 8.75 kB / 1.001 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.437e-05/0.003315, allocations: 46.73 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.00334, allocations: 8.891 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.003499, allocations: 137.5 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.003508, allocations: 4.375 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.003518, allocations: 8.375 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.003636, allocations: 95.86 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.003643, allocations: 192 / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.003651, allocations: 4.375 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.003657, allocations: 4.125 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.728e-05/0.003714, allocations: 39.92 kB / 1.001 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.004081, allocations: 391.8 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.473e-05/0.004126, allocations: 41.25 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.004159, allocations: 21.77 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.231e-06/0.004165, allocations: 0 / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.004183, allocations: 42.55 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 5.31e-07/0.004183, allocations: 0 / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001288/0.004312, allocations: 49.59 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.004348, allocations: 85.05 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.004456, allocations: 160.8 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.004465, allocations: 25.7 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.004513, allocations: 104 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-06/0.004521, allocations: 11.83 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.004543, allocations: 17.72 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.218e-05/0.004616, allocations: 323.1 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.004629, allocations: 12 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.477e-05/0.004644, allocations: 17.66 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.368e-05/0.004678, allocations: 29.7 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.00468, allocations: 7.938 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.367e-05/0.004734, allocations: 57.59 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.004746, allocations: 5.562 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.004751, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.00476, allocations: 64 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.907e-05/0.00481, allocations: 19.92 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.004814, allocations: 0 / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.647e-05/0.004831, allocations: 3.953 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.004834, allocations: 4 kB / 1.003 GB, free: 10.05 MB / 0.9636 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.384e-05/0.004888, allocations: 113.8 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.004909, allocations: 7.953 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.831e-05/0.004927, allocations: 11.81 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.004929, allocations: 3.984 kB / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.004934, allocations: 3.938 kB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.004937, allocations: 0 / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.00517, allocations: 433.9 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.005171, allocations: 0 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.768e-06/0.005181, allocations: 11.88 kB / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.005182, allocations: 0 / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.005188, allocations: 4 kB / 1.003 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.005189, allocations: 0 / 1.003 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.00519, allocations: 0 / 1.003 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.323e-05/0.005243, allocations: 82.72 kB / 1.003 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.005261, allocations: 11.84 kB / 1.003 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.005271, allocations: 8.094 kB / 1.003 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.429e-05/0.005285, allocations: 0 / 1.003 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.005297, allocations: 3.984 kB / 1.003 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-06/0.005298, allocations: 0 / 1.003 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.948e-05/0.005358, allocations: 125.5 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.005358, allocations: 0 / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001251/0.005483, allocations: 11.94 kB / 1.004 GB, free: 9.145 MB / 0.9636 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.0002055/0.005688, allocations: 0.6093 MB / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.488e-05/0.005753, allocations: 23.97 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.005754, allocations: 0 / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.162e-06/0.005761, allocations: 4 kB / 1.004 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.00587, allocations: 14.17 kB / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008515/0.006722, allocations: 1.343 MB / 1.006 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.845e-05/0.00677, allocations: 79.56 kB / 1.006 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.56e-05/0.006796, allocations: 12.48 kB / 1.006 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.006839, allocations: 28.48 kB / 1.006 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.006839, allocations: 0 / 1.006 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01444/0.02128, allocations: 2.229 MB / 1.008 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.762/6.783, allocations: 10.39 kB / 1.008 GB, free: 4.77 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.015607283450663]