Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001954/0.001954, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002024/0.002024, allocations: 217.4 kB / 22.24 MB, free: 5.258 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.316/3.316, allocations: 0.49 GB / 0.7951 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_Btu,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",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.002043/0.002043, allocations: 73.05 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3786, allocations: 176.1 MB / 1.326 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002995/0.3816, allocations: 0.8037 MB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001634/0.3818, allocations: 47.78 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.962e-05/0.3819, allocations: 0 / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.521e-05/0.3819, allocations: 3.938 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.382, allocations: 7.875 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.184e-05/0.3821, allocations: 19.97 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000157/0.3822, allocations: 67.78 kB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.3824, allocations: 31.98 kB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.344e-05/0.3825, allocations: 31.84 kB / 1.327 GB, free: 484 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.781e-05/0.3826, allocations: 27.86 kB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.3826, allocations: 8 kB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.3826, allocations: 4 kB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.3826, allocations: 19.92 kB / 1.327 GB, free: 424 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.915e-05/0.3827, allocations: 23.81 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.3828, allocations: 83.78 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3828, allocations: 0 / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3828, allocations: 0 / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.3828, allocations: 0 / 1.327 GB, free: 316 kB / 1.014 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.0005392/0.3834, allocations: 302 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.3834, allocations: 16.03 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.148e-05/0.3835, allocations: 42.69 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.3835, allocations: 8.891 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.3837, allocations: 134.4 kB / 1.327 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3837, allocations: 8.281 kB / 1.327 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.3838, allocations: 8.375 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.3839, allocations: 95.94 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3839, allocations: 3.938 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.384, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.384, allocations: 4 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.566e-05/0.384, allocations: 39.91 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000601/0.3846, allocations: 391.8 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.896e-05/0.3847, allocations: 41.28 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.74e-05/0.3848, allocations: 25.83 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.3848, allocations: 0 / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.3848, allocations: 30.56 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.3848, allocations: 0 / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001994/0.385, allocations: 61.69 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.3851, allocations: 81.14 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.3853, allocations: 169.2 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.3853, allocations: 25.7 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.976e-05/0.3854, allocations: 104 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.099e-05/0.3854, allocations: 7.953 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.3854, allocations: 13.72 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.3856, allocations: 326.8 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.161e-05/0.3856, allocations: 8 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.653e-05/0.3857, allocations: 17.7 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.878e-05/0.3857, allocations: 33.72 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3857, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.518e-05/0.3858, allocations: 53.59 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3858, allocations: 11.92 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3858, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3859, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.579e-05/0.3859, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3859, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.386, allocations: 7.953 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.386, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 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 8.932e-05/0.3861, allocations: 122.4 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.3861, allocations: 11.89 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.3861, allocations: 15.8 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3861, allocations: 0 / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3861, allocations: 7.938 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3862, allocations: 4 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004325/0.3866, allocations: 429.9 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3866, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.193e-05/0.3866, allocations: 7.938 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3866, allocations: 4.062 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.3866, allocations: 4 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3866, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3866, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.3867, allocations: 85.83 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.917e-05/0.3868, allocations: 7.953 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.3868, allocations: 7.984 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.041e-05/0.3868, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.3868, allocations: 7.938 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.3868, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001108/0.3869, allocations: 129 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3869, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001907/0.3871, allocations: 8 kB / 1.33 GB, free: 13.11 MB / 1.029 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.0005032/0.3876, allocations: 0.6132 MB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.827e-05/0.3877, allocations: 19.94 kB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3877, allocations: 0 / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.106e-05/0.3877, allocations: 4 kB / 1.33 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.3879, allocations: 4.281 kB / 1.33 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.3895, allocations: 1.338 MB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.469e-05/0.3896, allocations: 87.11 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.459e-05/0.3896, allocations: 8.516 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/0.3897, allocations: 23.42 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3897, allocations: 0 / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.4181, allocations: 2.125 MB / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.62, allocations: 9.953 kB / 1.334 GB, free: 8.875 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 18.74457459198311]