Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.0008474/0.0008474, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009155/0.0009155, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9192/0.9192, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.783/1.783, 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.To_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.275e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001408/0.001431, allocations: 0.783 MB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001077/0.001538, allocations: 39.78 kB / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.001587, allocations: 0 / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.829e-05/0.001625, allocations: 11.86 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.096e-05/0.001706, allocations: 11.94 kB / 1.001 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.535e-05/0.001752, allocations: 19.98 kB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.001853, allocations: 63.72 kB / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.001986, allocations: 35.95 kB / 1.001 GB, free: 12.53 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.203e-05/0.002078, allocations: 35.91 kB / 1.001 GB, free: 12.49 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.002123, allocations: 19.91 kB / 1.001 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.002148, allocations: 8 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-06/0.002155, allocations: 7.938 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.002177, allocations: 15.92 kB / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.002203, allocations: 15.94 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.002313, allocations: 79.69 kB / 1.001 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.002316, allocations: 0 / 1.001 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.263e-06/0.002317, allocations: 0 / 1.001 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.002322, allocations: 0 / 1.001 GB, free: 12.35 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.0008827/0.003205, allocations: 302 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.003247, allocations: 12.75 kB / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.003284, allocations: 38.73 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.182e-05/0.003306, allocations: 8.891 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.003474, allocations: 145.5 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.003484, allocations: 8.375 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.003494, allocations: 8.375 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.003633, allocations: 101.4 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.003641, allocations: 192 / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.003652, allocations: 4.375 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.003658, allocations: 4.125 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.474e-05/0.003723, allocations: 35.92 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.004127, allocations: 391.7 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.809e-05/0.004175, allocations: 37.28 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.013e-05/0.004205, allocations: 25.83 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-06/0.004212, allocations: 4 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.004229, allocations: 30.56 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.00423, allocations: 0 / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001436/0.004374, allocations: 53.59 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.004419, allocations: 81.05 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.004531, allocations: 164.7 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.00454, allocations: 25.7 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.004595, allocations: 108 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.422e-06/0.004601, allocations: 4.203 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.004629, allocations: 21.7 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.088e-05/0.00471, allocations: 318.8 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.004727, allocations: 11.94 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.826e-05/0.004745, allocations: 21.64 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.737e-05/0.004782, allocations: 25.72 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.004785, allocations: 0 / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.598e-05/0.004851, allocations: 65.58 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.004864, allocations: 4 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.004874, allocations: 4.062 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.004887, allocations: 4 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.004947, allocations: 7.938 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.004954, allocations: 0 / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.349e-05/0.004977, allocations: 15.89 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-06/0.004981, allocations: 0 / 1.003 GB, free: 10.07 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 6.513e-05/0.005046, allocations: 117.8 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.005068, allocations: 7.953 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.00509, allocations: 11.8 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.005091, allocations: 0 / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.005097, allocations: 7.938 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.0051, allocations: 0 / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.005387, allocations: 441.9 kB / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.005388, allocations: 0 / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.468e-05/0.005403, allocations: 7.938 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.005405, allocations: 0 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.005412, allocations: 0 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.005413, allocations: 0 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005414, allocations: 0 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.328e-05/0.005477, allocations: 82.78 kB / 1.003 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.005499, allocations: 15.84 kB / 1.003 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.005511, allocations: 3.984 kB / 1.003 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.027e-05/0.005522, allocations: 0 / 1.003 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.005534, allocations: 7.938 kB / 1.003 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.005536, allocations: 4 kB / 1.003 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.952e-05/0.005596, allocations: 121.5 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005596, allocations: 0 / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001295/0.005725, allocations: 8 kB / 1.004 GB, free: 9.16 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.0002491/0.005974, allocations: 0.6095 MB / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.436e-05/0.006049, allocations: 15.94 kB / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.006051, allocations: 7.938 kB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.472e-06/0.006058, allocations: 4 kB / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.006179, allocations: 14.22 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000941/0.00712, allocations: 1.344 MB / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.26e-05/0.007183, allocations: 79.58 kB / 1.006 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.515e-05/0.007218, allocations: 12.47 kB / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.588e-05/0.007274, allocations: 28.44 kB / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of SimCode: time 9.72e-07/0.007275, allocations: 0 / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.02566, allocations: 2.229 MB / 1.008 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.646/6.671, allocations: 9.203 kB / 1.008 GB, free: 4.785 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_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_To_BtuPerHour.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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: 10.877901793457568]