Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001766/0.001766, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002601/0.002601, allocations: 216.8 kB / 22.25 MB, free: 4.855 MB / 14.72 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 1.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.978/2.978, allocations: 476 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003705/0.003705, allocations: 69.7 kB / 1.117 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.374, allocations: 169.9 MB / 1.283 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002384/0.3763, allocations: 0.7985 MB / 1.283 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001581/0.3765, allocations: 39.78 kB / 1.283 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.651e-05/0.3766, allocations: 0 / 1.283 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.628e-05/0.3766, allocations: 7.875 kB / 1.283 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.3767, allocations: 19.86 kB / 1.283 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.463e-05/0.3768, allocations: 19.98 kB / 1.283 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.3769, allocations: 55.84 kB / 1.283 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.3771, allocations: 31.97 kB / 1.284 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.244e-05/0.3772, allocations: 27.86 kB / 1.284 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.243e-05/0.3772, allocations: 23.8 kB / 1.284 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.3772, allocations: 8 kB / 1.284 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.3772, allocations: 4 kB / 1.284 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.056e-05/0.3773, allocations: 19.92 kB / 1.284 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.038e-05/0.3773, allocations: 31.8 kB / 1.284 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.3775, allocations: 71.86 kB / 1.284 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.3775, allocations: 11.94 kB / 1.284 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.475e-06/0.3775, allocations: 0 / 1.284 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.3775, allocations: 0 / 1.284 GB, free: 3.043 MB / 0.9825 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.0005162/0.378, allocations: 306 kB / 1.284 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3781, allocations: 8.031 kB / 1.284 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.719e-05/0.3781, allocations: 46.67 kB / 1.284 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.3782, allocations: 8.891 kB / 1.284 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.3784, allocations: 126.4 kB / 1.284 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.3784, allocations: 8.375 kB / 1.284 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.3784, allocations: 8.375 kB / 1.284 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.3786, allocations: 105.7 kB / 1.284 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3786, allocations: 3.938 kB / 1.284 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.3786, allocations: 0 / 1.284 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3786, allocations: 4 kB / 1.284 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.472e-05/0.3787, allocations: 35.98 kB / 1.284 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006014/0.3793, allocations: 395.8 kB / 1.285 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.365e-05/0.3794, allocations: 33.22 kB / 1.285 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.936e-05/0.3794, allocations: 21.77 kB / 1.285 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.3794, allocations: 8.031 kB / 1.285 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.3795, allocations: 34.56 kB / 1.285 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.3795, allocations: 0 / 1.285 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001751/0.3796, allocations: 53.53 kB / 1.285 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.3797, allocations: 77.11 kB / 1.285 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.3799, allocations: 158.2 kB / 1.285 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.3799, allocations: 25.7 kB / 1.285 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.628e-05/0.38, allocations: 112 kB / 1.285 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.08e-05/0.38, allocations: 7.953 kB / 1.285 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.38, allocations: 17.95 kB / 1.285 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3802, allocations: 322.8 kB / 1.286 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.058e-05/0.3802, allocations: 8 kB / 1.286 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.979e-05/0.3802, allocations: 21.7 kB / 1.286 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.424e-05/0.3803, allocations: 29.66 kB / 1.286 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3803, allocations: 0 / 1.286 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.757e-05/0.3803, allocations: 53.64 kB / 1.286 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.3804, allocations: 11.94 kB / 1.286 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3804, allocations: 0 / 1.286 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3804, allocations: 4.062 kB / 1.286 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.3e-05/0.3805, allocations: 7.938 kB / 1.286 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.3805, allocations: 11.98 kB / 1.286 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.442e-05/0.3805, allocations: 7.953 kB / 1.286 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.3805, allocations: 7.938 kB / 1.286 GB, free: 0.7617 MB / 0.9825 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 0.0001093/0.3806, allocations: 117.8 kB / 1.286 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.3807, allocations: 11.89 kB / 1.286 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.288e-05/0.3807, allocations: 7.797 kB / 1.286 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.3807, allocations: 4 kB / 1.286 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3807, allocations: 0 / 1.286 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3807, allocations: 4.094 kB / 1.286 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.3811, allocations: 437.9 kB / 1.286 GB, free: 128 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.3811, allocations: 3.984 kB / 1.286 GB, free: 124 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.988e-05/0.3811, allocations: 4 kB / 1.286 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3811, allocations: 0 / 1.286 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.3811, allocations: 0 / 1.286 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3811, allocations: 4 kB / 1.286 GB, free: 116 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3811, allocations: 0 / 1.286 GB, free: 116 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.046e-05/0.3812, allocations: 81.81 kB / 1.286 GB, free: 12 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/0.3813, allocations: 24.17 kB / 1.286 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.3813, allocations: 0 / 1.286 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.327e-05/0.3813, allocations: 4 kB / 1.286 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.3813, allocations: 0 / 1.286 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.3813, allocations: 0 / 1.286 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.849e-05/0.3814, allocations: 121.5 kB / 1.286 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3814, allocations: 0 / 1.286 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001856/0.3816, allocations: 8 kB / 1.287 GB, free: 15.86 MB / 0.9981 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.0004218/0.382, allocations: 0.6169 MB / 1.287 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.982e-05/0.3821, allocations: 19.97 kB / 1.287 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3821, allocations: 0 / 1.287 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.201e-05/0.3821, allocations: 7.938 kB / 1.287 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.3823, allocations: 8 kB / 1.287 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.3836, allocations: 1.326 MB / 1.288 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.754e-05/0.3837, allocations: 91.88 kB / 1.289 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.932e-05/0.3837, allocations: 4.438 kB / 1.289 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.3838, allocations: 23.42 kB / 1.289 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.3838, allocations: 3.938 kB / 1.289 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/0.4208, allocations: 2.092 MB / 1.291 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.72, allocations: 10.92 kB / 1.291 GB, free: 11.65 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.721265274100006]